GbgMap.Resources = {

    mapSettings: {
        projection: "EPSG:3007",
        units: "m",
        resolutions: [80.233454144064439, 40.116727072032219, 20.05836353601611, 10.029181768008055,
                        5.0145908840040274, 2.5072954420020137, 1.2536477210010069, 0.62682386050050343,
                        0.31341193025025171, 0.15670596512512586],
        maxExtent: new OpenLayers.Bounds(124400, 6375000, 172000, 6422000),
        restrictedExtent: new OpenLayers.Bounds(124989, 6375448, 185967, 6436185),
        controls : []
    },

    bgLayers: [
        { name: "Karta", url: "http://www12.goteborg.se/cache", layerName: "Stadskarta" },
        { name: "Flygfoto", url: "http://www12.goteborg.se/cache", layerName: "Ortofoto" }
    ],

    datasets: [
        {
            name: "Serviceguiden",
            // UTV: url: "/wps/proxy/http/62.88.138.52:8080/geoserver/wfs",
            url: "/wps/proxy/http/www12.goteborg.se:8080/geoserver/wfs",
            layerName: "features",
            featureNS: "http://www.goteborg.se",
            fields: {
                featureId: "feature_id",
                datasetId: "dataset_id",
                name: "txt_name",
                adress: "txt_adress",
                x: "x",
                y: "y",
                WKT: "WKT",
                objectType:"objectType",
                ingress: "txt_ingress",
                header: "txt_header",
                body: "txt_body",
                link: "txt_link"
            },
            searchFields: [],
            filter: "<ogc:Filter xmlns:ogc=\"http://www.opengis.net/ogc\"><ogc:PropertyIsEqualTo matchCase=\"true\"><ogc:PropertyName>dataset_id</ogc:PropertyName><ogc:Literal>Serviceguide</ogc:Literal></ogc:PropertyIsEqualTo></ogc:Filter>",
            iconUrl : "/wps/wcm/jsp/external/GBGMap/i/gbgmap/pin-main.png"
        },
		{
            name: "PlanBygg",
            // url: "/wps/proxy/http/62.88.138.52:8080/geoserver/wfs",
			//ORIG UTV url: "/wps/proxy/http/62.88.138.52:8080/geoserver/wfs",
            url: "/wps/proxy/http/www12.goteborg.se:8080/geoserver/wfs",
            layerName: "features",
            featureNS: "http://www.goteborg.se",
            fields: {
                featureId: "feature_id",
                datasetId: "dataset_id",
                name: "txt_name",
                adress: "txt_adress",
                x: "x",
                y: "y",
                WKT: "WKT",
                objectType:"objectType",
                ingress: "txt_ingress",
                header: "txt_header",
                body: "txt_body",
                link: "txt_link"
            },
            searchFields: [],
            filter: "<ogc:Filter xmlns:ogc=\"http://www.opengis.net/ogc\"><ogc:PropertyIsEqualTo matchCase=\"true\"><ogc:PropertyName>dataset_id</ogc:PropertyName><ogc:Literal>PlanBygg</ogc:Literal></ogc:PropertyIsEqualTo></ogc:Filter>",
            iconUrl : "/wps/wcm/jsp/external/GBGMap/i/gbgmap/pin-main.png"
        }
   ]
}
