diff options
author | Silvio <silvio@socioambiental.org> | 2015-08-17 17:06:53 -0300 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2015-08-17 17:06:53 -0300 |
commit | 94e02a0a167ac5262c64e6b7d4353beb946e9818 (patch) | |
tree | 315454d96447e658b48ab52b3e2a4cabb2fc24e1 | |
parent | 5337aa48888f7e2f6792a4309315ab1e4256d8b7 (diff) | |
download | gmap_arcgis_js-94e02a0a167ac5262c64e6b7d4353beb946e9818.tar.gz gmap_arcgis_js-94e02a0a167ac5262c64e6b7d4353beb946e9818.tar.bz2 |
Adds createMap param
-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 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); } |