From GamingWiki
Line 120: | Line 120: | ||
} | } | ||
addZone(marker['lat'], marker['lng'], corners, marker['name'], marker['id']); | addZone(marker['lat'], marker['lng'], corners, marker['name'], marker['id']); | ||
− | } | + | } else if (typeof marker['lat'] === 'undefined' || marker['lat'] == '' |
|| typeof marker['lng'] === 'undefined' || marker['lng'] == '') { | || typeof marker['lng'] === 'undefined' || marker['lng'] == '') { | ||
// Missing lat/lng information; add by address. | // Missing lat/lng information; add by address. |
Revision as of 20:46, 16 May 2011