It all gets a bit messy because when you right-click a marker both your
"singlerightclick" listeners get triggered and fight with each other for
what gets displayed.
The listener in ContextMenuMap.js receives the map singlerightclick,
doesn't check to see if it's a marker event and starts drawing the map
context menu.
The map listener in JScriptMain als receives the map singlerightclick
and does check to see if there's an overlay involved, and throws your
custom "SingleRightClick" event on the marker. Then your marker
"SingleRightClick" listener starts drawing the marker context menu.
Checking to see if you clicked on an overlay in the ContextMenuMap.js
listener, adn then not displaying the map menu, would simplify the
situation, but there's something else going on.
--
Mike Williams
--
You received this message because you are subscribed to the Google Groups "Google
Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.