Can polygon or polyline rotate?

932 views
Skip to first unread message

Gising_me

unread,
Jan 18, 2011, 4:19:37 AM1/18/11
to google-map...@googlegroups.com
Hello, everybody.

As the title mentioned, can I rotate the polygon or polyline overlay?

Such as first select an overlay, then click a button(programming) on the page 
so that the overlay rotate for some degree.

Pil

unread,
Jan 18, 2011, 5:39:16 AM1/18/11
to Google Maps JavaScript API v3
As polygons and polylines are moveable and draggable as seen here

http://www.wolfpil.de/v3/flexible-polygon.html

your intention should be feesable. The main task would be the math to
calculate the new points.

Gising_me

unread,
Jan 18, 2011, 8:34:38 PM1/18/11
to google-map...@googlegroups.com
Thanks for your reply, Pil!

It seems to be a nice way, I'll try it.
Reply all
Reply to author
Forward
0 new messages