Hi.
Could you add an API event listener for the Map 'mousemove' event:
http://code.google.com/apis/maps/documentation/javascript/reference.html#Map
google.maps.event.addListener(myMap, 'mousemove', function(mouseEvent)
{
lastMousePosition=mouseEvent.latLng;
});
lastMousePosition would have to be defined as a global variable in
your code.
Then add a DOM event listener for the mouse right click event.
Whenever the DOM event is triggered you will have the last mouse
position available.
Or does the API 'consume' the right click event so it will not
propogate to your DOM listener?
Martin.
On Jan 18, 12:58 pm, Eduardo <
duduweil...@gmail.com> wrote:
> hello,
>
> i am working in a system and I need to create a custom context menu when
> the user right click *inside* a circle. i have noticed that a right click