Created
December 6, 2021 20:40
-
-
Save jkeefe/9c4ac51a8f5bd6875e1a1f46c44ccd77 to your computer and use it in GitHub Desktop.
Clear Mapbox tiles from browser storage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // clear tile storage to ensure latest data is shown | |
| // (failure to do this could leave old data in browser for up to 12 hours) | |
| mapboxgl.clearStorage(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment