diff options
author | Silvio <silvio@socioambiental.org> | 2009-10-22 16:24:56 -0200 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2009-10-22 16:24:56 -0200 |
commit | 4bbf8693a2571a28d62b12a2177fea7eacfde66a (patch) | |
tree | 352e80929f370c283584b498ed95665784fa71d8 /gmap_arcgis.js | |
parent | ccaa9e7ea24f735ae83bd03cce41feef7738cd0d (diff) | |
download | gmap_arcgis-4bbf8693a2571a28d62b12a2177fea7eacfde66a.tar.gz gmap_arcgis-4bbf8693a2571a28d62b12a2177fea7eacfde66a.tar.bz2 |
Adding README and removing some custom ISA configs
Diffstat (limited to 'gmap_arcgis.js')
-rw-r--r-- | gmap_arcgis.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js index 0691ad4..8dd4481 100644 --- a/gmap_arcgis.js +++ b/gmap_arcgis.js @@ -10,8 +10,7 @@ var map, mapExtension, gOverlays; function gmap_arcgis() { // Fallback setting - // TODO: general default settings instead of custom ISA config - var fallback = 'http://isamapas.socioambiental.org:8399/arcgis/rest/services/uc_isa/MapServer'; + var fallback = 'http://mapserver.fqdn/rest/services/app/MapServer'; var polygons = [ fallback ]; var labels = [ fallback + '/2' ]; var fields = new Array(); @@ -39,8 +38,7 @@ function gmap_arcgis() { mapExtension = new esri.arcgis.gmaps.MapExtension(map); for each (var label in labels) { - // TODO: general default settings instead of custom ISA config - fields = ["id_arp", "nome_uc"]; + fields = ["id", "name"]; icon = new GIcon(G_DEFAULT_ICON); if (label[1] !== undefined) { // Set custom fields |