diff options
author | Silvio <silvio@socioambiental.org> | 2013-03-26 17:27:47 -0300 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2013-03-26 17:27:47 -0300 |
commit | ce19c2e23ee61edfa2d889b6e65c3515897ff8ad (patch) | |
tree | 9acf56c6aca135cd035ebea4d00137ff0e32448e | |
parent | ccef04196d603da4b798c667e12ba493c3affd3a (diff) | |
download | gmap_arcgis-ce19c2e23ee61edfa2d889b6e65c3515897ff8ad.tar.gz gmap_arcgis-ce19c2e23ee61edfa2d889b6e65c3515897ff8ad.tar.bz2 |
Support to css parameter at showOverlay
-rw-r--r-- | gmap_arcgis.js | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js index 03539de..d0bd721 100644 --- a/gmap_arcgis.js +++ b/gmap_arcgis.js @@ -233,14 +233,24 @@ function gmapArcgis(config) { showOverlay: function(t) { if ($.browser.msie === false) { message = this.config.overlayMessage; + + if (this.config.overlayCss != undefined) { + css = this.config.overlayCss; + } + else { + css = { }; + } + if (t == false) { $.blockUI({ - message: message + message: message, + css: css, }); } else { $.blockUI({ message: message, - timeout: t + css: css, + timeout: t, }); } } |