diff options
-rw-r--r-- | gmap_arcgis.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |