The *.fromLatLngToContainerPixel() function belongs to the MapCanvasProjection object: http://code.google.com/apis/maps/documentation/v3/reference.html#MapCanvasProjection
This object is only accessible through an OverlayView object via getProjection() method: http://code.google.com/apis/maps/documentation/v3/reference.html#OverlayView Do you need the outer map container's pixels or the DIV pixel holding the entire map? On Thu, Apr 15, 2010 at 10:39 PM, g12345 <[email protected]> wrote: > In versin 3 for map.fromLatLngToContainerPixel(latlng) , says > "map.getDiv().fromLatLngToContainerPixel is not a function". > > Is there any different method to get the x y of the map div. > > -- > 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]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- Daniels Lee Developer Programs Engineer Google, Inc. 345 Spear Street San Francisco, CA 94105 650 253 0967 -- 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.
