Hi, I have this example:
http://facut.ro/test.html (use the top "Get LatLng" link button) In it, I capture the LatLng of the mouse's current position on the map, using the X / Y mouse coordinates, in pixels (with the fromDivPixelToLatLng MapCanvasProjection's method). The problem is that, after a correct detection at start, when dragging / panning the map, the LatLng of the mouse's current position in pixels (updated using the "mousemove" event, attached on the document.body object), is incorrect. The question is: what should I do, in order to update the LatLng of the panned map? Should I run some "updating" code on the map's "center_changed" event?... Any help would be appreciated. Thanks! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
