Non-mapbox basemaps tiles get disappeared
See original GitHub issueHere’s my data object:
data() {
return {
map: null,
accessToken: null, // your access token. Needed if you using Mapbox maps
mapStyle:`https://maps.tilehosting.com/styles/voyager/style.json?key={KEY}`, // your map style
};
},
When the map is zoomed, the tiles aren’t being fetched. Demo: https://bit.ly/soal-vue-mapbox
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Blank or missing map tiles | Help - Mapbox docs
Learn why you may be seeing blank or missing tiles.
Read more >tiles missing within bounding box in leaflet - Stack Overflow
But the problem is, some tiles are missing from the right side of the map when I am panning the base map as...
Read more >Mapbox Natural earth map disappears on zooms 0 & 1
Vector tiles have different data at each zoom level. I'm guessing that the source vector tile dataset you're using in your style does...
Read more >Unable to bring up any Base Map in PIX4DCapture
In some places, missing tiles may occur while using the map or satellite view depending on the zoom level. Unfortunately, only the base...
Read more >TileLayer - deck.gl
This approach minimizes the visual flashing due to missing content. 'no-overlap' : Avoid showing overlapping tiles when backfilling with cached content. This is ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After hours spent on this problem, here is my working solution to access map instance from a store (thanks to https://github.com/vuejs/vue/issues/2637#issuecomment-207076744 and https://github.com/vuejs/vue/issues/2637#issuecomment-331913620):
Here is an example with Vue Composition Api:
index.js
App.vue
@vinayakkulkarni My temporary solution was to access the map via refs. e.g.: