From GamingWiki
Jump to: navigation, search
Line 134: Line 134:
 
if (typeof gMarker !== 'undefined') {
 
if (typeof gMarker !== 'undefined') {
 
newLatLng = gMarker.getPosition();
 
newLatLng = gMarker.getPosition();
var zoom = marker['zoom'];
+
if (marker["zoom"]) {
if (typeof zoom !== 'undefined') {
+
newZoom = marker["zoom"];
newZoom = zoom;
 
 
}
 
}
 
}
 
}

Revision as of 20:27, 26 May 2011