diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)

Sep152009

Add right-click context menu using ContextMenuControl Google Maps JS API

Wolfgang Pichler developed a “ContextMenuControl”, which is a Google Maps JS API released under open source. The API let you embed a right-click context menu in your own maps, like that of Google Maps with options like getting directions, zooming in, or finding the address of the center point (reverse geocoding). All you need to do is just include the script tag for the source code, insert a init function in your map, and you’ll get a right-click menu like the screenshot shows below:

More infoContextMenuControl

Share This Story, Choose Your Platform!