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

Radar view map zoom controls on iOS #2

Closed
evanblack opened this issue Jun 16, 2011 · 1 comment
Closed

Radar view map zoom controls on iOS #2

evanblack opened this issue Jun 16, 2011 · 1 comment
Assignees
Labels
Milestone

Comments

@evanblack
Copy link
Owner

Currently, the zoom controls for the google map when you're in radar view don't show up on iOS. This may be because iOS uses gesture support for zooming and such. May need to look into the maps api to see if there's a config option.

@ghost ghost assigned evanblack Jun 16, 2011
@evanblack
Copy link
Owner Author

By default, iOS disables the zoom controls because gestures are typically used with the maps api. Setting the 'draggable' map option to false prevents gestures though. The ideal solution is to re-enable the draggable option and grab the new map center on the bounds changed event to pass that lat and long into the radar image api. However, there is a flaw because of the disconnect between the Google Maps zoom level and the Weather Underground radar image zoom level.

The current solution is to keep the 'draggable' option disabled and to force the zoom controls to the device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant