Why I can't create a context menun using dojo over google maps
I want to create a context menu using Dojo over google maps.But it doesn't work over the map bu开发者_开发技巧t in other elements the context menu works.
I try to create a google maps listener:
google.maps.event.addListener(map,'rightclick', funcition(){create_menu("mapa_div")})
But it doesn't work too
Any advise?
Thanks in advance
I think then, this below format should work well.
new dijit.Menu({
targetNodeIds: ["id_of_the_domNode_containing_the_map"]
});
精彩评论