From GamingWiki
Line 119: | Line 119: | ||
corners[j] = new google.maps.LatLng(ll[0],ll[1]); | corners[j] = new google.maps.LatLng(ll[0],ll[1]); | ||
} | } | ||
− | addZone | + | addZone(marker['lat'], marker['lng'], corners, marker['name'], marker['id']); |
} elseif (typeof marker['lat'] === 'undefined' || marker['lat'] == '' | } elseif (typeof marker['lat'] === 'undefined' || marker['lat'] == '' | ||
|| typeof marker['lng'] === 'undefined' || marker['lng'] == '') { | || typeof marker['lng'] === 'undefined' || marker['lng'] == '') { |
Revision as of 20:44, 16 May 2011