开发者

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"]
    });
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜