0

How to rotate Gmarker in ZK Gmarker ?

asked 2012-07-04 07:20:48 +0800

dionazani gravatar image dionazani
18

updated 2012-07-04 09:08:58 +0800

I have Gmarker with Vehicle icon. I need to rotate the icon so it will display vehicle direction on the map. Can I do that with ZK Gmarker ? I have try many method but it didn't work.

For information, I use ZK version 6.

Thank you.

Best regards,
Dion Azani.

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-07-05 17:07:12 +0800

zippy gravatar image zippy
504 1 2

The only solution i know, is have a lot of icons with the direction and with the heading set the correct icon =(

link publish delete flag offensive edit

answered 2012-07-06 02:23:38 +0800

dionazani gravatar image dionazani
18

@ZippyZ: thank you, as far as I know, that still the best approach ... :D

link publish delete flag offensive edit

answered 2012-08-10 12:39:38 +0800

benbai gravatar image benbai
2228 6
http://www.zkoss.org

Hi,

I agree with zippy, you can draw it by Gpolyline/Gpolygon but it is heavier than change one marker.

Regards,
Ben

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: 2012-07-04 07:20:48 +0800

Seen: 340 times

Last updated: Aug 10 '12

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