diff options
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 |