Update Mapbox GL JS library to v1.0.0 and Mapbox SDK to v0.6.0

This commit is contained in:
Vesa Luusua 2019-05-23 15:12:20 +03:00
parent 236115071e
commit e8c8fce012
3 changed files with 766 additions and 201 deletions

View file

@ -149,8 +149,8 @@
We didn't bundle it to the main app since it would unnecessarily slow down initial rendering. We didn't bundle it to the main app since it would unnecessarily slow down initial rendering.
--> -->
<script src="%PUBLIC_URL%/static/scripts/mapbox/mapbox-sdk.min.js"></script> <script src="%PUBLIC_URL%/static/scripts/mapbox/mapbox-sdk.min.js"></script>
<link href="https://api.mapbox.com/mapbox-gl-js/v0.47.0/mapbox-gl.css" rel="stylesheet" /> <link href="https://api.mapbox.com/mapbox-gl-js/v1.0.0/mapbox-gl.css" rel="stylesheet" />
<script src="https://api.mapbox.com/mapbox-gl-js/v0.47.0/mapbox-gl.js"></script> <script src="https://api.mapbox.com/mapbox-gl-js/v1.0.0/mapbox-gl.js"></script>
<script> <script>
window.mapboxgl.accessToken = '%REACT_APP_MAPBOX_ACCESS_TOKEN%'; window.mapboxgl.accessToken = '%REACT_APP_MAPBOX_ACCESS_TOKEN%';
</script> </script>

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long