Merge pull request #1099 from sharetribe/update-mapbox

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 16:38:13 +03:00 committed by GitHub
commit abd4611048
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 770 additions and 202 deletions

View file

@ -14,9 +14,12 @@ way to update this template, but currently, we follow a pattern:
## Upcoming version 2019-XX-XX
- [change] Mapbox library dependencies updated to v1.0.0.
[#1099](https://github.com/sharetribe/flex-template-web/pull/1099)
- Note: Mapbox changed their pricing scheme!
- [fix] missing provider information (like SSN in US), might cause payment to fail on
`CheckoutPage`. This improves related error message.
[#10967](https://github.com/sharetribe/flex-template-web/pull/1097)
[#1098](https://github.com/sharetribe/flex-template-web/pull/1098)
- [fix] Menu needs to wait for mounting to calculate dimensions properly.
[#1096](https://github.com/sharetribe/flex-template-web/pull/1096)
- [fix] Renamed Component.example.css files to ComponentExample.css to fix bug introduced in one of

View file

@ -149,8 +149,8 @@
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>
<link href="https://api.mapbox.com/mapbox-gl-js/v0.47.0/mapbox-gl.css" rel="stylesheet" />
<script src="https://api.mapbox.com/mapbox-gl-js/v0.47.0/mapbox-gl.js"></script>
<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/v1.0.0/mapbox-gl.js"></script>
<script>
window.mapboxgl.accessToken = '%REACT_APP_MAPBOX_ACCESS_TOKEN%';
</script>

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long