0

How to get directions using ZK component gmaps?

asked 2010-04-02 03:52:25 +0800

baskaraninfo gravatar image baskaraninfo
526 2 2 9

updated 2010-04-02 04:31:25 +0800

Hi, I want to locate a given place in google map? and also need to get the direction for the given FROM and TO places.

As shown in the following link:
Maps API Directions Illustrated

Is it possible doing this using zk gmaps?

Thank you.

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2010-04-08 21:05:32 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

updated 2010-04-08 21:06:32 +0800

Currently, no direct API in zk gmaps for such things. However, you can use Gmarker, Gpolyline to draw such "path".

1. Use the webservice to get the "From", "To", and "direction" information back.
2. Per the information, prepare the Gmarkers for "From", "To".
3. Per the information, draw the Gpolyline.

You can post a ZK Features for this so we can track it. Thanks.

link publish delete flag offensive edit

answered 2010-04-15 01:46:38 +0800

baskaraninfo gravatar image baskaraninfo
526 2 2 9

Thank you henrichen.

I have posted a feature request here.

Thank you.

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: 2010-04-02 03:52:25 +0800

Seen: 829 times

Last updated: Apr 15 '10

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