4 ms·
This is great! > The map tiles are loaded in from two OpenStreetMap tile providers (one with street names, one without). You probably don't need to do that. Y
by Doctor_Fegg 5y ago
This is great!
> The map tiles are loaded in from two OpenStreetMap tile providers (one with street names, one without).
You probably don't need to do that. You can use the same tiles, the same stylesheet even, and just hide the street names layer in code:
https://docs.mapbox.com/mapbox-gl-js/example/toggle-layers/ https://docs.mapbox.com/mapbox-gl-js/example/toggle-layers/
- adamlynch 5y agoI'll look into this. Since I wrote that initially, the no-streets OSM map was discontinued so I switched to Mapbox & Maptiler. But I do use two full layers (one custom one without street names) rather than doing what you suggest. Hopefully it's not a paid feature.