Commit 0891de88 authored by Ayolo's avatar Ayolo

gmap

parent 7d3c7686
...@@ -152,11 +152,8 @@ function(point) ...@@ -152,11 +152,8 @@ function(point)
return; return;
else else
{ {
var p = point.Placemark[0]; ".$this->name.".setCenter(point,16);
var fpoint = new google.maps.LatLng(p.coordinates[1],p.coordinates[0]); ".$this->name.".addOverlay(new google.maps.Marker(point));
var marker = new google.maps.Marker(fpoint);
".$this->name.".addOverlay(marker);
".$this->name.".setCenter(point,13);
} }
} }
);\n"; );\n";
......
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