Hmmm... I did as you suggested, plotting 0, -90 on my map, and it
popped up in a very strange spot.
I'm using code from several tutorials, most notably
http://www.econym.org.uk/gmap/index.htm. Can you explain to me, based
on the code i posted above, the correct syntax for converting the
pixels to degrees? Java and JS are the proverbial thorn in my side.

On Sep 8, 4:49 am, Andrew Leach <[email protected]> wrote:
> On Sep 7, 11:02 pm, chaoskreator <[email protected]> wrote:
>
> > I've actually tried that. it's set to 0,0 and 749,749, but it still
> > plots the marker off the map. :(
>
> GLatLng doesn't use pixels, it uses degrees. Your map is still a
> rectangle with a vertical axis from -90 to +90 and a horizontal axis
> from -180 to +180. Try plotting a few markers like (0,0) or (-90,0)
> and see where they go.
>
> Because your geometry is Euclidean, converting from pixels to degrees
> for plotting is easy.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.

Reply via email to