p-lr / MapView

A Fast, memory efficient Android library to display tiled maps, with support for markers, paths, and rotation.
Apache License 2.0
184 stars 38 forks source link

Possibility to zoom farther out? #42

Closed devjta closed 1 year ago

devjta commented 1 year ago

Hey!

Would it be possible, to support zooming out? Lets say, I dont have an infinite map, but its limited to a certain area and I want to see the whole area in a view.

But even with zoomLevel0, the space would be too small.

I can also change the code, if the option doesnt make sense for general purposes, but where should I try it?

So it doesnt need load any additional tile, but basically let the zoomlevel going into negative?

p-lr commented 1 year ago

Hi,

Is the default MinimumScaleMode.FIT (which limits the minimum scale to no less than what would be required to fit inside the container) not enough ? If so, have you tried to set the minimum scale using the setMinScale api? (see this example)