Skip to content

Commit 63d45ca

Browse files
committed
refactoring accessible maps
1 parent aa8baca commit 63d45ca

File tree

96 files changed

+37612
-29362
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+37612
-29362
lines changed

dist/src/app.tsx

Lines changed: 0 additions & 21 deletions
This file was deleted.

dist/src/heatmap/heatmap-control-panel.tsx

Lines changed: 0 additions & 43 deletions
This file was deleted.

dist/index.html renamed to index.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
<html>
33
<head>
44
<meta charset='UTF-8' />
5-
<title>Accessible Maps</title>
6-
<link href="https://api.mapbox.com/mapbox-gl-js/v2.6.1/mapbox-gl.css" rel="stylesheet">
5+
<title>react-map-gl Example</title>
6+
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.51.0/mapbox-gl.js'></script>
7+
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.51.0/mapbox-gl.css' rel='stylesheet' />
8+
79
<style>
810
body {
911
margin: 0;
@@ -39,7 +41,7 @@
3941
width: 160px;
4042
}
4143

42-
.tooltip {
44+
.tooltip-custom {
4345
position: absolute;
4446
margin: 8px;
4547
padding: 4px;
@@ -52,12 +54,16 @@
5254
}
5355

5456
</style>
57+
5558
</head>
5659
<body>
5760
<div id="map"></div>
5861
<script src='app.js'></script>
62+
<link
63+
rel="stylesheet"
64+
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"/>
5965
</body>
60-
<script type="text/javascript">
66+
<!-- <script type="text/javascript">
6167
App.renderToDom(document.getElementById('map'));
62-
</script>
68+
</script> -->
6369
</html>

0 commit comments

Comments
 (0)