diff options
author | Silvio <silvio@socioambiental.org> | 2014-02-12 19:29:14 -0200 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2014-02-12 19:29:14 -0200 |
commit | acb509caf8b2a7aef4d87d7f959a7d0e83343e3f (patch) | |
tree | 0c4c22f4d69635acce6d868e5eabaaa02b6349e7 | |
parent | df08cfde4438b3a01631b06225075c13394a0b96 (diff) | |
download | gmap_arcgis-feature/1373.tar.gz gmap_arcgis-feature/1373.tar.bz2 |
Test site for deforestationfeature/1373
-rw-r--r-- | gmap_arcgis.module | 5 |
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/'; |