> PS following is the HTML Code for the tutorial web site that gives the
> wrong result, if this helps.
I don't see anywhere in there that you set coordinates
> var latlng = new google.maps.LatLng(-34.397, 150.644);
That centres the starting map at -34.397 W 150.644 N
> geocoder.geocode( { 'address': address}, function(results, status)
That calls the geocoder, which is a service that looks up postal
addresses and converts to lat/long.
If you are feeding that lat/longs its not really the appropriate tool
for the job.
Write some code to parse lat/longs input from a form if thats what you
want. There'll be plenty of examples out there. That allows you to
add, for example, meaningful error messages for latitudes bigger than
100 etc.
26.527 E -78.606 S is in Antartica
-78.606 W 26.527 N is in Bahamas
--
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.