aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-05-13 15:49:57 -0300
committerSilvio <silvio@socioambiental.org>2013-05-13 15:49:57 -0300
commit3084a6db32eddbd1bc68aeb25cb25cb5f22a0cf1 (patch)
tree1db04f973d8f009c96a5e69541f5954ae48c7080
parente7c6c4b1ef10d9808a68ffef67126e7082b11348 (diff)
downloadgmap_arcgis_js-3084a6db32eddbd1bc68aeb25cb25cb5f22a0cf1.tar.gz
gmap_arcgis_js-3084a6db32eddbd1bc68aeb25cb25cb5f22a0cf1.tar.bz2
Adds disableOverlay config
-rw-r--r--gmap_arcgis.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js
index f315b27..f5783d3 100644
--- a/gmap_arcgis.js
+++ b/gmap_arcgis.js
@@ -48,6 +48,10 @@ function gmapArcgis(config) {
// Block the UI and show an overlay
showOverlay: function(t) {
+ if (this.config.disableOverlay != undefined && this.config.disableOverlay == true) {
+ return;
+ }
+
if ($.browser.msie === false || $.browser.msie === undefined) {
message = this.config.overlayMessage;