aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-04-30 13:04:35 -0300
committerSilvio <silvio@socioambiental.org>2013-04-30 13:04:35 -0300
commit59ad01601c5cd7fd89ff39048b4c34a61be1abba (patch)
tree711ad558b1abb3e5e8b45df11911bc04e12d8c7c
parent5945972e6cc906798bd43c84072f31b7d5b448bf (diff)
downloadgmap_arcgis_js-59ad01601c5cd7fd89ff39048b4c34a61be1abba.tar.gz
gmap_arcgis_js-59ad01601c5cd7fd89ff39048b4c34a61be1abba.tar.bz2
Formatting (2)
-rw-r--r--gmap_arcgis.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js
index 1ba760c..f03a241 100644
--- a/gmap_arcgis.js
+++ b/gmap_arcgis.js
@@ -492,9 +492,9 @@ function gmapArcgis(config) {
// Fit map to polygon bounds
if (params.fitBounds != undefined && params.fitBounds == true) {
- var bounds = params.overlay[i].getBounds();
- var zoom = self.getZoomByBounds(bounds);
- var center = bounds.getCenter();
+ var bounds = params.overlay[i].getBounds();
+ var zoom = self.getZoomByBounds(bounds);
+ var center = bounds.getCenter();
self.map.setZoom(zoom);
self.setCenter(center, true);