//20090915 nvs
//Provide an object to store enums and configuration settings 
//The enums might make more sense if located somewhere else in the namespace,
//like 'com.timmons.srl.enums' or similar.

com.timmons.srl.configManager = {
    apiType : {
        Bing: "Bing",    
        ESRI: "ESRI",
        Google : "Google"
    },
    layerType : {
        dynamicMapServiceLayer : "dynamicMapServiceLayer",
        tiledMapServiceLayer : "tiledMapServiceLayer"
    },
    locatorType : {
        geocoder : "geocoder",
        reverseGeocoder : "reverseGeocoder"
    },        
    ConfigurationSettings : function(){
        return {
            apiType : null,
            center : {
                x : null,
                y : null
            },
            extent : {
                xmax : null,
                xmin : null,
                ymax : null,
                ymin : null
            },
            height : null,
            width : null,
            locatorServices : [],
            mapServices : [],
            serviceAreas : [],
            
            showExistingRequests : true,
            
            zoomLevel: null,
            defaultState: null,
            RQEStatus : [],
            RQEDefaultDateRange : null,
            RQEDefaultProblemsId : null,
            RQESelectableRequestTypeNbr : null,
            ReverseGeocodingErrorMessageA : null,
            ReverseGeocodingErrorMessageB : null,
            ReverseGeocodingErrorMessageC : null,
            GeocodingOutOfBounds : null
        }
    }
};




