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

Change the color of an oval at click in Java AWT -

What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project? -