From acb509caf8b2a7aef4d87d7f959a7d0e83343e3f Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 12 Feb 2014 19:29:14 -0200 Subject: Test site for deforestation --- gmap_arcgis.module | 5 +++++ 1 file changed, 5 insertions(+) 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/'; -- cgit v1.2.3