aboutsummaryrefslogtreecommitdiff
path: root/gmap_arcgis.module
diff options
context:
space:
mode:
Diffstat (limited to 'gmap_arcgis.module')
-rw-r--r--gmap_arcgis.module5
1 files changed, 5 insertions, 0 deletions
diff --git a/gmap_arcgis.module b/gmap_arcgis.module
index e441573..585664b 100644
--- a/gmap_arcgis.module
+++ b/gmap_arcgis.module
@@ -161,6 +161,11 @@ function gmap_arcgis_mapserver() {
// The ArcGIS server URL.
$base = 'http://gis2.socioambiental.org:8399/arcgis/rest/services/';
+ // TODO: test site for deforestation
+ if (preg_match('/desmatamento/', $request)) {
+ $base = 'http://gisserver.socioambiental.org:6080/arcgis/rest/services/';
+ }
+
// The dynamic pattern we want to exclude.
$pattern = '/_[0-9]*._callback/';