From 59ad01601c5cd7fd89ff39048b4c34a61be1abba Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 30 Apr 2013 13:04:35 -0300 Subject: Formatting (2) --- gmap_arcgis.js | 6 +++--- 1 file 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); -- cgit v1.2.3