How can I implement a double-click to zoom function?
Any suggestions or code examples for this would be much appreciated!
3
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Three steps: figure out how to detect a double click with a timer, use the pointLocation() method of the Map instance to determine the clicked-on spot, then call setCenterZoom() with the location and an incremented zoom value.
3 people say
this answers the question
-
Inappropriate?This didn't work for me. well, it landed me on the right location, but I've lost my markers and the zoom limits seem to have reset, and I am unable to zoom back out all the way. I'm using the as 2.0 version, and any help would be appreciated.
Loading Profile...


EMPLOYEE
