aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2014-11-25 15:59:55 -0200
committerSilvio <silvio@socioambiental.org>2014-11-25 15:59:55 -0200
commit795de1e97f9de89b012db10f8141220d53fd3b69 (patch)
treea8079ee0eeda5af3a9d256c77ec3b582156e4779
parent257af633a5b62b2e5557454e1044b9ce35cc17fa (diff)
downloadgmap_arcgis_js-795de1e97f9de89b012db10f8141220d53fd3b69.tar.gz
gmap_arcgis_js-795de1e97f9de89b012db10f8141220d53fd3b69.tar.bz2
Proxy support
-rw-r--r--gmap_arcgis.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js
index aaa0446..870f22a 100644
--- a/gmap_arcgis.js
+++ b/gmap_arcgis.js
@@ -24,6 +24,10 @@ function gmapArcgis(config) {
}
}
+ if (config.proxy != undefined) {
+ gmaps.ags.Config.proxyUrl = config.proxy;
+ }
+
// Return a Gmap ArcGIS object
return {
// Storable properties