for (var i=0; i<=100; i++) { var point= new Array ( new GLatLng( <?php echo $datosy[i] ?> , <?php echo $datosx[i] ?> ), ); }