How to paint an arrow?

93 views
Skip to first unread message

bstar...@koptevo.net

unread,
Jan 13, 2012, 2:18:37 PM1/13/12
to google-map...@googlegroups.com
I need to put arrow on the map - for example, to show military strike direction.

In theory, I can paint it by three lines or by two lines and narrow triangle. But this require some mathematics.

May be,
there is a library which can paint arrows?

Martin™

unread,
Jan 14, 2012, 1:01:13 AM1/14/12
to Google Maps JavaScript API v3
Hi.

Use a Marker with a custom icon (your arrow image):

http://www.svennerberg.com/2009/07/google-maps-api-3-markers/

Martin.


On Jan 13, 7:18 pm, "bstaros...@koptevo.net" <bstaros...@koptevo.net>
wrote:

bstar...@koptevo.net

unread,
Jan 14, 2012, 12:50:38 PM1/14/12
to Google Maps JavaScript API v3
I need really LARGE and DIRECTED arrow :)

For example, an arrow which starts at Berlin and ends at Moscow, as
Germany planned in World War II :)

xelawho

unread,
Jan 14, 2012, 10:06:48 PM1/14/12
to Google Maps JavaScript API v3
> I need really LARGE and DIRECTED arrow :)

like this?
http://www.wolfpil.de/v3/arrow-heads.html
Reply all
Reply to author
Forward
0 new messages