From GamingWiki
Line 49: | Line 49: | ||
function addMarkerByAddress(address, title, description) { | function addMarkerByAddress(address, title, description) { | ||
if (geocoder) { | if (geocoder) { | ||
− | geocoder. | + | geocoder.geocode({request:address, callback:function(latlng) { |
if (!latlng) { | if (!latlng) { | ||
alert(address + " not found"); | alert(address + " not found"); |
Revision as of 01:12, 25 October 2010