// URL Parameters //
//var baseMapLayerUrl = "http://mapping.yanceycountync.gov/ArcGIS/rest/services/map_v6/MapServer"; //"http://yanceycountync.gov/ArcGIS/rest/services/map_v2/MapServer";
var geoServiceUrl = "http://mapping.yanceycountync.gov/ArcGIS/rest/services/Geometry/GeometryServer";

//var floodMapLayerUrl = "http://mapping.yanceycountync.gov/ArcGIS/rest/services/Flood/MapServer"; //"http://yanceycountync.gov/ArcGIS/rest/services/map_v2/MapServer";
//var orthoLayerURL = "http://mapping.yanceycountync.gov/ArcGIS/rest/services/Orthos/MapServer"

// Geocode Locator Variables
var locatorUrl = "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Locators/ESRI_Geocode_USA/GeocodeServer";

var identifyURL = "http://mapping.yanceycountync.gov/ArcGIS/rest/services/map_v6/MapServer";
var searchURL = "http://mapping.yanceycountync.gov/ArcGIS/rest/services/map_v6/MapServer"



var proxyPage = "proxy.ashx";

// Identify Features
var defaultIDLayers = [15,14,17,16,11,9];

// URL Parameters //
var mapLayers = [
 {
     label: "ortho",
     url: "http://mapping.yanceycountync.gov/ArcGIS/rest/services/Ortho2005/MapServer",
     type: "tiled", alpha: 1,
     visible: true
 },
    {
        label: "map",
        url: "http://mapping.yanceycountync.gov/ArcGIS/rest/services/Map_v6/MapServer",
        type: "dynamic", alpha: 1,
        visible: true
    } ,
    {
        label: "flood",
        url: "http://mapping.yanceycountync.gov/ArcGIS/rest/services/Flood/MapServer",
        type: "tiled", alpha: 1,
        visible: false
    }
]

var mapViewButtons = [
 { node: "btnImagery", label: "imagery", turnOff: ["map"], turnOn: ["ortho"] },
 { node: "btnHybrid", label: "hybrid", turnOff: [], turnOn: ["map","ortho"]},
 { node: "btnNone", label: "none", turnOff: ["ortho"], turnOn: ["map"] }
];



