Commit cdabb886 authored by Ayolo's avatar Ayolo

gmap

parent 0891de88
...@@ -152,7 +152,9 @@ function(point) ...@@ -152,7 +152,9 @@ function(point)
return; return;
else else
{ {
".$this->name.".setCenter(point,16); var zoom = point.Placemark[0];
zoom = zoom.AddressDetails.Accuracy;
".$this->name.".setCenter(point,zoom);
".$this->name.".addOverlay(new google.maps.Marker(point)); ".$this->name.".addOverlay(new google.maps.Marker(point));
} }
} }
......
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