diff --git a/include/cts/gmap.inc.php b/include/cts/gmap.inc.php index dc654c38037560e83f2b10655970a84c6e2230d8..6daf82f8eb77c580e456e3adace73aead602f3fb 100644 --- a/include/cts/gmap.inc.php +++ b/include/cts/gmap.inc.php @@ -152,8 +152,7 @@ function(point) return; else { - var zoom = point.Placemark[0]; - zoom = zoom.AddressDetails.Accuracy; + var zoom = point.AddressDetails.Accuracy; ".$this->name.".setCenter(point,zoom); ".$this->name.".addOverlay(new google.maps.Marker(point)); }