On Oct 1, 1:16 pm, CSharp <[email protected]> wrote:
> Is there a quick way to get the window coordinates from the Google
> Javascript API rather than to re-develop custom code for the Overlay
> just to get the projection object which has the fromLatLngToDivPixel
> method?  I mean, in version 2 of the API, the fromLatLngToDivPixel
> method is exposed directly at the map object level.  Now with the new
> version of the API, all hell breaks loose with javascript and jQuery
> to get a couple of numbers for a set of coordinate as opposed to one
> line of code.  Man, I thought the new API is supposed to ease some
> development effort and to reduce some code, not to increase the effort
> 10 folds. (Sorry, I've been looking at code too much on a Friday, so
> I'm a bit grumpy).

GMap.getProjection() doesn't get it for you (after the
projection_changed event of course...)

  -- Larry

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