I see your point, but technically inside the draw method it has been called - it just hasn't completed. getProjection should successfully return an object inside your draw method. Just not before it is called.
Chad Killingsworth On Jun 3, 4:13 am, Kurteknikk <[email protected]> wrote: > Hi, > > First of all i've searched a lot for the labeledMarker class written > by Mike Purvis back in 2007. But i didn't find any new version for V3, > and i really need it. > > So i'm trying to re-code it myself but i've got a problem. I know that > the fromLatLngToDivPixel() method is available if you call get > projection which returns the MapCanvasProjection. But my problem is > that in the labeledMarker class i need the projection in the draw > method, obviously to draw the label with the marker, but according to > the documentation the getProjection() method and the getPanes() method > both should be called AFTER the draw method has been called and the > object was drawn. > > Is there anyone who could help me with this problem please ? -- 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.
