I want to change it from latLng to address in the following code:

var geocoder;
var map;
function initialize() {
geocoder = new google.maps.Geocoder();
var latlng = new google.maps.LatLng(-34.397, 150.644);
var myOptions = {
zoom: 8,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}

But it does not work when I change "LatLng" to "address" and then
change the(-34.397, 150.644) to (San Diego,CA). Can someone please let
me know what I am doing wrong? I found another topic on this in this
forum, but all of the links were dead, which caused me to post this
question again.

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