0

gmap dragging event

asked 2009-03-30 12:11:06 +0800

FlightPlan gravatar image FlightPlan
133 2

how to override map draging event in zk gmap.

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2009-03-31 01:45:47 +0800

iantsai gravatar image iantsai
2755 1

You mean how to "Listen"?

link publish delete flag offensive edit

answered 2009-04-04 06:01:52 +0800

FlightPlan gravatar image FlightPlan
133 2

yes. I want to add some code when user drag the gmap

link publish delete flag offensive edit

answered 2009-04-06 01:39:59 +0800

kindalu gravatar image kindalu
255

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...)

link publish delete flag offensive edit

answered 2009-04-06 04:10:43 +0800

FlightPlan gravatar image FlightPlan
133 2

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.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-03-30 12:11:06 +0800

Seen: 260 times

Last updated: Apr 06 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More