Basically I would like to do this;
point = new GLatLng(document.getElementById("address").value);
map.setCenter(point, 11);
I'd like the JS file to grab the address from the textbox "address"
and make the point variable it's lat,lng.
So the above code in reality would be;
point = new GLatLng(-27.8391, 133.5938);
map.setCenter(point, 11);
Are there any examples around where the above has been done or what
additional code do I need to add?
Thank you!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---