Hi Everybody,

I looked at the v3 API reference and noticed that if I want to use methods
like fromLatLngToDivPixel ... I need a MapCanvasProjection object. And to
have a MapCanvasProjection object, I need an OverlayView object.

In my situation, I don't have any overlay on the map. For example, I show
the road map at some (lat, lng) and at some zoom level. Now I need to know
the pixel position when the user clicks on the map. To do that in v2, I
listen to the map click event where I have the (lat, lng) and use
map.fromLatLngToDivPixel. In v3, the object map doesn't have that method.
How I can do the same thing in v3?

Thank you.

-- 
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.

Reply via email to