mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-31 02:26:50 +10:00
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:
commit
abd4611048
4 changed files with 770 additions and 202 deletions
|
|
@ -14,9 +14,12 @@ way to update this template, but currently, we follow a pattern:
|
||||||
|
|
||||||
## Upcoming version 2019-XX-XX
|
## 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
|
- [fix] missing provider information (like SSN in US), might cause payment to fail on
|
||||||
`CheckoutPage`. This improves related error message.
|
`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.
|
- [fix] Menu needs to wait for mounting to calculate dimensions properly.
|
||||||
[#1096](https://github.com/sharetribe/flex-template-web/pull/1096)
|
[#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
|
- [fix] Renamed Component.example.css files to ComponentExample.css to fix bug introduced in one of
|
||||||
|
|
|
||||||
|
|
@ -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
Loading…
Add table
Reference in a new issue