var geocoder;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.
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 you shouldnt be geocoding a known address on every page load.
> --
> 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 google-map...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-a...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>