Permalink
Fetching contributors…
Cannot retrieve contributors at this time
561 lines (560 sloc) 15.6 KB
{
"name": "debug_all",
"maxExtent": [487000.0, 6887000.0, 749144.0, 7149144.0],
"extent" : [608114, 6910996, 641846, 6932596],
"attribution": "Test av attribution",
"autoClearDrawLayer": false,
"resolutions": [
280,
140,
70,
28,
14,
7,
4.2,
2.8,
1.4,
0.56,
0.28,
0.14,
0.112,
0.056
],
"units": "m",
"projection": "EPSG:3006",
"drawStyle" : {
"default": {
"Point": {
"pointRadius": 4,
"graphicName": "square",
"fillColor": "#ff0000",
"fillOpacity": 0.25,
"strokeColor": "#ff0000",
"strokeWidth": 1
},
"Polygon": {
"strokeWidth": 1,
"strokeOpacity": 1,
"fillColor": "#0000ff",
"fillOpacity": 0.25,
"strokeColor": "#0000ff"
}
},
"select": {
"strokeWidth": 2,
"strokeOpacity": 1,
"fillColor": "#ff00ff",
"fillOpacity": 0.25,
"strokeColor": "#ff0000"
},
"temporary": {
"strokeWidth": 2,
"strokeOpacity": 0.75,
"fillColor": "#ff00ff",
"fillOpacity": 0,
"strokeColor": "#ff00ff"
}
},
"layers": [
{
"name": "Image",
"wms": {
"url": "https://extmaptest.sundsvall.se/geoserver/gwc/service/wms",
"params": {
"layers": "Lantmateriet:Ortofoto50_25cm",
"format": "image/jpeg"
},
"options": {
"isBaseLayer": true,
"displayInLayerSwitcher": false
}
}
},
{
"name": "Map",
"wms": {
"url": "https://extmaptest.sundsvall.se/geoserver/gwc/service/wms",
"params": {
"layers": "Lantmateriet:topowebbkartan_nedtonad",
"format": "image/png"
},
"options": {
"isBaseLayer": true,
"displayInLayerSwitcher": false
}
}
},
{
"name": "Expanded grouplayer",
"expanded": true,
"isGrouplayer": true,
"options": {
"visibility": true
},
"layers": [
{
"name": "Planområde",
"queryable": true,
"clickable": true,
"isGrouplayer": false,
"wms": {
"url": "https://extmaptest.sundsvall.se/geoserver/gwc/service/wms",
"params": {
"layers": "RIGES:Planomrade",
"format": "image/png",
"transparent": true
},
"options": {
"isBaseLayer": false,
"visibility": true,
"legendURL": "https://extmaptest.sundsvall.se/teckenforklaring/Lantmateriet/fastighetsgranser_kvalitet.png"
}
},
"wfs": {
"url": "https://extmaptest.sundsvall.se/geoserver/wfs",
"featureType": "DetaljplanGallande_yta",
"featurePrefix": "RIGES"
},
"metadata": {
"attributes":{
"AKTBET": {
"alias": "Aktebteckning"
},
"LEGAL_APPR": {
}
}
}
},
{
"name" : "Användningsbestämmelse",
"queryable": true,
"clickable": true,
"isGrouplayer": false,
"wms": {
"url" : "https://extmaptest.sundsvall.se/geoserver/gwc/service/wms",
"params": {
"layers": "RIGES:AnvandningsBestammelser_yta",
"format" : "image/png",
"transparent" : true
},
"options": {
"isBaseLayer": false,
"visibility": false
}
},
"metadata": {
"attributes": {
"CATEGORY": {
"alias": "Användningsform"
},
"CLARIFICAT": {
"alias": "Förtydligande"
},
"DESCRIPTIO": {
"alias": "Beskrivning"
},
"MAPTEXT": {
"alias": "Karttext"
},
"REMARK": {
}
}
}
}
]
},
{
"name": "Collapsed grouplayer",
"expanded": false,
"isGrouplayer": true,
"options": {
"visibility": false
},
"layers": [
{
"name": "Planområde 2",
"queryable": true,
"clickable": true,
"isGrouplayer": false,
"wms": {
"url": "https://extmaptest.sundsvall.se/geoserver/gwc/service/wms",
"params": {
"layers": "RIGES:Planomrade",
"format": "image/png",
"transparent": true
},
"options": {
"isBaseLayer": false,
"visibility": false
}
}
},
{
"name" : "Användningsbestämmelse 2",
"queryable": true,
"clickable": true,
"isGrouplayer": false,
"wms": {
"url" : "https://extmaptest.sundsvall.se/geoserver/gwc/service/wms",
"params": {
"layers": "RIGES:AnvandningsBestammelser_yta",
"format" : "image/png",
"transparent" : true
},
"options": {
"isBaseLayer": false,
"visibility": false
}
}
},
{
"name": "Grouplayer in grouplayer",
"expanded": true,
"isGrouplayer": true,
"options": {
"visibility": false
},
"layers": [
{
"name": "Planområde 3",
"queryable": true,
"clickable": false,
"isGrouplayer": false,
"wms": {
"url": "https://extmaptest.sundsvall.se/geoserver/gwc/service/wms",
"params": {
"layers": "RIGES:Planomrade",
"format": "image/png",
"transparent": true
},
"options": {
"isBaseLayer": false,
"visibility": false
}
}
},
{
"name" : "Användningsbestämmelse 3",
"queryable": false,
"clickable": false,
"isGrouplayer": false,
"wms": {
"url" : "https://extmaptest.sundsvall.se/geoserver/gwc/service/wms",
"params": {
"layers": "RIGES:AnvandningsBestammelser_yta",
"format" : "image/png",
"transparent" : true
},
"options": {
"isBaseLayer": false,
"visibility": false
}
}
}
]
},
{
"name": "Grouplayer in grouplayer 2",
"expanded": true,
"isGrouplayer": true,
"options": {
"visibility": false
},
"layers": [
{
"name": "Planområde 3",
"queryable": true,
"clickable": true,
"isGrouplayer": false,
"wms": {
"url": "https://extmaptest.sundsvall.se/geoserver/gwc/service/wms",
"params": {
"layers": "RIGES:Planomrade",
"format": "image/png",
"transparent": true
},
"options": {
"isBaseLayer": false,
"visibility": false
}
}
},
{
"name" : "Användningsbestämmelse 3",
"queryable": true,
"clickable": true,
"isGrouplayer": false,
"wms": {
"url" : "https://extmaptest.sundsvall.se/geoserver/gwc/service/wms",
"params": {
"layers": "RIGES:AnvandningsBestammelser_yta",
"format" : "image/png",
"transparent" : true
},
"options": {
"isBaseLayer": false,
"visibility": false
}
}
}
]
}
]
},
{
"name": "Planområde extern",
"queryable": true,
"clickable": true,
"isGrouplayer": false,
"wfs": {
"url": "https://extmaptest.sundsvall.se/geoserver/wfs",
"featureType": "DetaljplanGallande_yta",
"featurePrefix": "RIGES"
},
"metadata": {
"attributes": {
"AKTBET": {
"alias": "Aktbeteckning"
},
"AKTBET_LOK": {
"alias": "Lokal aktbet."
},
"AREA_NUMBE": {
"alias": "Planområdesnr"
},
"LEGAL_APPR": {
"alias": "Lagakraft datum"
},
"ACCEPTED_D": {
"alias": "Antagande datum"
}
}
}
}
],
"search":
{
"searchEstates":
{
"options":
{
"municipalities":
[
"Nordanstig",
"Sundsvall",
"Timrå",
"Härnösand",
"Kramfors"
]
}
},
"searchAddresses":
{
"options":
{
"municipalities":
[
"Nordanstig",
"Sundsvall",
"Timrå",
"Härnösand",
"Kramfors"
],
"zoom": 9
}
},
"searchPlacenames":
{
"options":
{
"municipalities":
[
"2132",
"2281",
"2262",
"2280",
"2282"
],
"zoom": 7
}
}
},
"tools": [
{
"type": "FullExtent",
"iconCls": "action-fullextent",
"tooltip": "Zoom to full extent"
},
{
"type": "Print",
"iconCls": "action-print",
"tooltip": "Print map"
},
{
"type": "Identify",
"iconCls": "action-identify",
"tooltip": "Identify objects in map",
"useRegisterenhet": false,
"onlyVisibleLayers": false,
"tolerance": 5,
"activate": true
},
{
"type": "Popup",
"iconCls": "action-popup",
"tooltip": "Show popup window",
"tolerance": 5,
"showOnlyFirstHit": false
},
{
"type": "MeasureLine",
"iconCls": "action-measureline",
"tooltip": "Measure distance",
"accuracy": 3
},
{
"type": "MeasureArea",
"tooltip": "Measure area",
"iconCls": "action-measurearea",
"accuracy": 0
},
{
"type": "DeleteMeasure",
"tooltip": "Delete all measures",
"iconCls": "action-deletemeasure"
},
{
"type": "DrawGeometry",
"tooltip": "Draw polygon",
"iconCls": "action-drawpolygon",
"geometry": "Polygon"
},
{
"type": "DrawGeometry",
"tooltip": "Draw line",
"iconCls": "action-drawline",
"geometry": "Path"
},
{
"type": "DrawGeometry",
"tooltip": "Draw point",
"iconCls": "action-drawpoint",
"geometry": "Point"
},
{
"type": "DrawGeometry",
"tooltip": "Draw text",
"iconCls": "action-drawpoint",
"geometry": "Point",
"attributes": {
"type": "label",
"label": "Ny label",
"metadata": {
"type": {
"hidden": true
}
}
}
},
{
"itemId": "DrawObjectR",
"type": "DrawObject",
"objectConfig": {
"type": "R"
},
"tooltip": "Draw rectangular object",
"iconCls": "action-draw-square",
"disabled": false,
"attributes": {
"state": "GEOMETRY",
"metadata": {
"state": {
"hidden": false
}
}
}
},
{
"itemId": "DrawObjectO",
"type": "DrawObject",
"objectConfig": {
"type": "O"
},
"tooltip": "Draw octagonal object",
"iconCls": "action-draw-octagon",
"disabled": false,
"attributes": {
"state": "GEOMETRY",
"metadata": {
"state": {
"hidden": false
}
}
}
},
{
"itemId": "DrawObjectL",
"type": "DrawObject",
"objectConfig": {
"type": "L"
},
"tooltip": "Draw L-shaped object",
"iconCls": "action-draw-l",
"disabled": false,
"attributes": {
"state": "GEOMETRY",
"metadata": {
"state": {
"hidden": false
}
}
}
},
{
"itemId": "DrawObjectD",
"type": "DrawObject",
"objectConfig": {
"type": "D"
},
"tooltip": "Draw D-shaped object",
"iconCls": "action-draw-d",
"disabled": false,
"attributes": {
"state": "GEOMETRY",
"metadata": {
"state": {
"hidden": false
}
}
}
},
{
"type": "ModifyGeometry",
"tooltip": "Modify geometry",
"iconCls": "action-modifygeometry"
},
{
"type": "SelectGeometry",
"tooltip": "Select geometry",
"iconCls": "action-selectgeometry"
},
{
"type": "DeleteGeometry",
"tooltip": "Delete geometry",
"iconCls": "action-deletegeometry"
},
{
"type": "DeleteAllFeatures",
"tooltip": "Delete all drawn geometries",
"iconCls": "action-deleteallfeatures"
},
{
"type": "Permalink",
},
{
"type": "DetailReport",
"tooltip": "Shows a detailed report for a specified point",
"iconCls": "action-detailreport"
}
]
}