javascript - Google Maps Marker Not Appearing -


i trying center map @ calculated geographic center , add markers show original points, 1 center don't seem showing up. when submit data getdata.php shows blank screen. see problem javascript marker? great. thanks!

did check value of location[i]? if in default [latitude, longitude], try:

position: new google.maps.latlng(location[i]) 

edited try again:

for(var = 0; i<(<?php echo json_encode($counter); ?>;); i++ ){    var marker = new google.maps.marker({         position: new google.maps.latlng(latitudesoflocation[i], longitudesoflocation[i]),         map: map,         title: ("point " + string.fromcharcode(94 + i)) }); 

Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -