Open MarsVard opened 9 years ago
hello mate did you solve it?
You can limit the map view with the set methods in ViewPort:
mapView.map().viewport().set...
Development continues at https://github.com/mapsforge/vtm
For questions please use the Discussions: https://github.com/mapsforge/vtm/discussions
I think it would be usefull for offline maps to be able to limit the scrolling bounds because otherwise the users sees the empty not loaded parts of the map.
So limiting scrolling to map bounds would be nice and limiting zoom levels would also be very interesting for navigational applications where you do not want the user to zoom out to zoom level 0 for instance...