On Jul 21, 8:31 am, xelawho <[email protected]> wrote: > > ...and make sure its: > > > var map = null; > > don't really know why - it works fine without doing this.
The "var map" is good practice, it declares the variable in the global scope. Without that in IE if there is a div with id="map" you will encounter problems. Assigning it to null is not technically necessary, but ... -- Larry > > you do know that it could just as easily be a link as a clickable > span, right? > > <a href ="javascript:map.setCenter(new > google.maps.LatLng(53.581092,-1.483154));map.setZoom(13);">Title</a> -- 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.
