zbycz / osmapp

Lets make a universal app for OpenStreetMap
https://osmapp.org
GNU General Public License v3.0
219 stars 19 forks source link

Blank OSM Carto map for zoom levels >=19 #595

Open kudlav opened 2 months ago

kudlav commented 2 months ago
  1. Visit https://osmapp.org/#19.00/49.1942/16.6004
  2. Set Layers to OSM Carto (if it's not already set)
  3. The map is blank till the user zooms out to z18 or less.

Other raster and vector layers are loaded correctly.

zbycz commented 2 months ago

Thanks for the report. I noticed that as well.

We should compare current mapzoom with the Layer's max_zoom property in useUpdateStyle, and if it differs, update the map zoom.