SRF-Consulting-Group-Inc / iris

Intelligent Roadway Information System
GNU General Public License v2.0
2 stars 0 forks source link

Add a way to limit maximum map zoom level #40

Open jlstanley-git opened 2 years ago

jlstanley-git commented 2 years ago

Since all IRIS systems don't support tiles down to zoom 18, it makes sense to provide a way to limit the maximum zoom the user can select to the available tiles. Current suggestion is to add a map.zoom.max attribute to the client.properties file (adjacent to the map.tile.url attribute) and enforce that limit in the client.map.MapModel.java.zoomIn(…) method.