Open a menu when rightclick

4,335 views
Skip to first unread message

Juan Francisco Vega Damke

unread,
Dec 6, 2011, 11:47:45 PM12/6/11
to google-map...@googlegroups.com
Hello, I'm a noob in Gmaps API, I want to know how can I do this, I can't find info about this.
Also if is possible, I need to know how to add a new option

Thanks you so much, 
Regards from Chile!

Be the change you want to see in the world

menu.png

MymsMan

unread,
Dec 7, 2011, 4:36:33 AM12/7/11
to google-map...@googlegroups.com

Martin™

unread,
Dec 7, 2011, 4:38:05 AM12/7/11
to Google Maps JavaScript API v3
Hi.

Take a look at the 'ContextMenu' library i created:

http://code.martinpearman.co.uk/googlemapsapi/contextmenu/

http://code.martinpearman.co.uk/googlemapsapi/contextmenu/1.0/docs/

And the advanced demo map:

http://code.martinpearman.co.uk/googlemapsapi/contextmenu/1.0/examples/advanced_example.htm

You should be able to construct a custom context menu that appears as
you want - and generates events that your map can listen and respond
to.

Martin.


On Dec 7, 4:47 am, Juan Francisco Vega Damke <crusi...@gmail.com>
wrote:


> Hello, I'm a noob in Gmaps API, I want to know how can I do this, I can't
> find info about this.
> Also if is possible, I need to know how to add a new option
>
> Thanks you so much,
> Regards from Chile!
>

> *Be the change you want to see in the world *
>
>  menu.png
> 116KViewDownload

Juan Francisco Vega Damke

unread,
Dec 7, 2011, 1:10:36 PM12/7/11
to google-map...@googlegroups.com
Thanks a lot guys!
--
Reply all
Reply to author
Forward
0 new messages