From GamingWiki
| Line 140: | Line 140: | ||
} | } | ||
} | } | ||
| + | alert("About to recentre, and zoom to "+newZoom); | ||
map.panTo(newLatLng); | map.panTo(newLatLng); | ||
map.setZoom(newZoom); | map.setZoom(newZoom); | ||
Revision as of 20:31, 26 May 2011