Commit 7d3c7686 authored by Ayolo's avatar Ayolo

gmap

parent b9d8ad10
......@@ -152,8 +152,10 @@ function(point)
return;
else
{
var marker = new google.maps.Marker(point);
/*".$this->name.".addOverlay(marker);*/
var p = point.Placemark[0];
var fpoint = new google.maps.LatLng(p.coordinates[1],p.coordinates[0]);
var marker = new google.maps.Marker(fpoint);
".$this->name.".addOverlay(marker);
".$this->name.".setCenter(point,13);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment