On Sep 28, 10:06 am, mhulse <[email protected]> wrote:
>
> GPSLatitude: 45,30,30.390001198897014
> GPSLongitude: 122,42,47.79
>
> var myLatlng = new google.maps.LatLng(GPSLatitude, GPSLongitude);
>
> Any tips?

I recommend perusing the documentation. LatLng takes two *numeric*
arguments, not collections of numbers or strings.

I guess that 45,30,30.39 means 45°30'30.39" which is 45.508442° -- use
a single decimal number for each argument and it will work.

var myLatlng = new google.maps.LatLng(45.508442,122.713275);

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