Displaying 1 result from an estimated 1 matches for "clickmap".
Did you mean:
blockmap
2009 Apr 12
0
Adding an eventhandler for click, but still be able to zoom in with doubleclick
...org), and although it
works very well (thanks to all for their efforts!), I am running into
one little problem:
On one page, I am allowing a user to add / edit a marker on a page, by
clicking on the map. I do this by adding an eventhandler:
mapstraction.addEventListener(''click'', clickmap);
However, this causes zooming in by doubleclicking to stop working. I
have seen pages (Googlemaps itself, for example) where this still works,
also, Javascript has seperate events for click and doubleclick, so I
guess it should be possible to determine the difference between clicking
on the map (...