Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to zoom farther out? #42

Closed
devjta opened this issue Feb 22, 2023 · 1 comment
Closed

Possibility to zoom farther out? #42

devjta opened this issue Feb 22, 2023 · 1 comment

Comments

@devjta
Copy link

devjta commented Feb 22, 2023

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
Copy link
Owner

p-lr commented Feb 23, 2023

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)

@p-lr p-lr closed this as completed Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants