aboutsummaryrefslogtreecommitdiff
path: root/gmap_arcgis.js
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-03-26 17:27:47 -0300
committerSilvio <silvio@socioambiental.org>2013-03-26 17:27:47 -0300
commitce19c2e23ee61edfa2d889b6e65c3515897ff8ad (patch)
tree9acf56c6aca135cd035ebea4d00137ff0e32448e /gmap_arcgis.js
parentccef04196d603da4b798c667e12ba493c3affd3a (diff)
downloadgmap_arcgis-ce19c2e23ee61edfa2d889b6e65c3515897ff8ad.tar.gz
gmap_arcgis-ce19c2e23ee61edfa2d889b6e65c3515897ff8ad.tar.bz2
Support to css parameter at showOverlay
Diffstat (limited to 'gmap_arcgis.js')
-rw-r--r--gmap_arcgis.js14
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,
});
}
}