-
FEATURED COMPONENTS
First time here? Check out the FAQ!
how to override map draging event in zk gmap.
yes. I want to add some code when user drag the gmap
Follow the example in zkdemo http://www.zkoss.org/zkdemo/userguide/#m8
<gmaps id="mymap" width="500px" height="300px" showSmallCtrl="true"> <attribute name="onMapMove"> put your code here! </attribute> </gmaps>
Did this answer your question? (I'm not quite sure your question...)
No I don't want to use onMapMove event.
I want to execute the code only when the user drag the map ,not all the time when map is moved (like zoom in or zoom out).
And one major thing is onMapMove event is fired at the time of map load first time I don't want this also.
Asked: 2009-03-30 12:11:06 +0800
Seen: 260 times
Last updated: Apr 06 '09