Hello everyone,
I have problem that should be stupidly simple… but I seem to be a extra stupid. =p
Basically I’m implementing the Google Maps API (v3). I’ve set up an event so when it’s right-clicked, a context menu pops up.
Now, the problem: I want to get the x/y of the mouse (so I can center the context menu). However, Google seems to have stripped this out of the MouseEvent which they send (no pageX/pageY).
So, how can I get the mouse position? (Not the LatLng, that’s easy. =p)
Thanks.