> But for the short
> term, how would I tell the map to center on the coordinates? And how
> would I get rid of the marker it creates?
In your function showAddress(address),
this line
map.setCenter(point, 18);
centres the map and sets a zoom level already.
these lines
var marker = new GMarker(point);
map.addOverlay(marker);
marker.openInfoWindowHtml(address);
add a marker to the map and open its infowindow. If you don't want
that, don't do it.
--
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.