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

redrawing map after moveToAndCenter() #7

Closed
marcinkolonko opened this issue Feb 25, 2013 · 4 comments
Closed

redrawing map after moveToAndCenter() #7

marcinkolonko opened this issue Feb 25, 2013 · 4 comments

Comments

@marcinkolonko
Copy link

i noticed when using moveToAndCenter() the downsampled image stays visible and the map isn't redrawing.

you're aware of this? you have a tip on how to fix that?

@moagrius
Copy link
Owner

I was not aware, and am not sure how to fix it with that version - maybe a call to invalidate, or perhaps the tilelayer needs to render(), or the tile set needs updated with confirmOrUpdateTileset().

that said, I have started the rewrite - it's a complete overhaul from scratch, and I expect it to be much more robust. I'll try to keep the public API as close as possible, but the guts are being reworked from scratch - I've completed the zoom management and geolocation packages, and can tell you they're much better, but I don't have an ETA yet - hopefully within the next few weeks.

@marcinkolonko
Copy link
Author

calling MapView.requestUpdate() in MapView.moveToAndCenter() did the trick

@moagrius
Copy link
Owner

cool - glad you got it worked out

@Shusshu
Copy link
Contributor

Shusshu commented Feb 28, 2013

yup that works !

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

3 participants