From fbadaebf419485659774ce52d7c8c89d08c7cd81 Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 18 Aug 2015 15:38:21 -0300 Subject: Change parameter createMap to map --- gmap_arcgis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gmap_arcgis.js b/gmap_arcgis.js index 4d92def..81f4f44 100644 --- a/gmap_arcgis.js +++ b/gmap_arcgis.js @@ -36,7 +36,7 @@ function gmapArcgis(config) { } // Map initialization - if (config.createMap != undefined && config.createMap == true && config.mapId != null && config.mapOptions != null) { + if ((config.map == undefined || config.map == null) && config.mapId != null && config.mapOptions != null) { config.map = new google.maps.Map(document.getElementById(config.mapId), config.mapOptions); } -- cgit v1.2.3