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 -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -