From 94e02a0a167ac5262c64e6b7d4353beb946e9818 Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 17 Aug 2015 17:06:53 -0300 Subject: Adds createMap param --- gmap_arcgis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gmap_arcgis.js b/gmap_arcgis.js index 2fda599..b594597 100644 --- a/gmap_arcgis.js +++ b/gmap_arcgis.js @@ -36,7 +36,7 @@ function gmapArcgis(config) { } // Map initialization - if (config.mapId != null && config.mapOptions != null) { + if (config.createMap == true && config.mapId != null && config.mapOptions != null) { config.map = new google.maps.Map(document.getElementById(config.mapId), config.mapOptions); } -- cgit v1.2.3