aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2014-02-12 19:29:14 -0200
committerSilvio <silvio@socioambiental.org>2014-02-12 19:29:14 -0200
commitacb509caf8b2a7aef4d87d7f959a7d0e83343e3f (patch)
tree0c4c22f4d69635acce6d868e5eabaaa02b6349e7
parentdf08cfde4438b3a01631b06225075c13394a0b96 (diff)
downloadgmap_arcgis-feature/1373.tar.gz
gmap_arcgis-feature/1373.tar.bz2
Test site for deforestationfeature/1373
-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/';