Skip to main content
Version: 3.13.0

Reference Map Layers Configuration

This is the default map layers configuration used for the geoView config, covering the standard EWB network map layers. It is what the server falls back to when no mapLayersConfig is provided, and it is a good idea to start from it and make modifications as needed, rather than writing a configuration from scratch.

note

The default configuration for the publicGeoView config is much smaller, as public tiles carry far fewer asset properties. It contains a single line layer for AC line segments, matching all assets on the conductors layer, with enableOtherAssetsLayer set to false.

  {
"version": 1,
"entries": [
{
"name": "AC Line Segments",
"showInSearch": true,
"cimClasses": ["AcLineSegment"],
"type": "group",
"layers": [
{
"name": "AC Line Segments Overhead",
"type": "line",
"sourceLayer": "conductors",
"matchAssetsFilter": ["==", "isUnderground", false],
"showInSearch": false,
"paint": {
"line-color": "black",
"line-width": 2
},
"labelLayout": {
"symbol-placement": "line",
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 1,
"capabilities": {
"voltageFiltering": "respect-voltage-levels",
"enableDirectionArrows": true,
"hasOffSupplyVariant": true,
"hasPartiallyOffSupplyVariant": true,
"enableRecolouring": true,
"enableFilteringByNetworkHierarchy": true
}
},
{
"name": "AC Line Segments Underground",
"type": "line",
"sourceLayer": "conductors",
"matchAssetsFilter": ["==", "isUnderground", true],
"showInSearch": false,
"paint": {
"line-color": "black",
"line-width": 2,
"line-dasharray": [2, 2]
},
"labelLayout": {
"symbol-placement": "line",
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 2,
"capabilities": {
"voltageFiltering": "respect-voltage-levels",
"enableDirectionArrows": true,
"hasOffSupplyVariant": true,
"hasPartiallyOffSupplyVariant": true,
"enableRecolouring": true,
"enableFilteringByNetworkHierarchy": true
}
}
]
},
{
"name": "Transformers",
"showInSearch": true,
"cimClasses": ["PowerTransformer"],
"type": "group",
"layers": [
{
"name": "Power Transformer",
"type": "node",
"sourceLayer": "nodes",
"matchAssetsFilter": ["==", "function", "powerTransformer"],
"showInSearch": false,
"iconSize": 0.19,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"labelMinZoom": 15,
"labelLayout": {
"symbol-placement": "point",
"text-anchor": "top",
"text-justify": "center",
"text-offset": [0, 0.5],
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 9
},
{
"name": "Distribution Transformer",
"type": "node",
"sourceLayer": "nodes",
"matchAssetsFilter": ["==", "function", "distributionTransformer"],
"showInSearch": false,
"iconSize": 0.19,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"labelMinZoom": 15,
"labelLayout": {
"symbol-placement": "point",
"text-anchor": "top",
"text-justify": "center",
"text-offset": [0, 0.5],
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 10
},
{
"name": "Isolation Transformer",
"type": "node",
"sourceLayer": "nodes",
"matchAssetsFilter": ["==", "function", "isolationTransformer"],
"showInSearch": false,
"iconSize": 0.19,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"labelMinZoom": 15,
"labelLayout": {
"symbol-placement": "point",
"text-anchor": "top",
"text-justify": "center",
"text-offset": [0, 0.5],
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 11
},
{
"name": "Regulators",
"type": "node",
"sourceLayer": "nodes",
"matchAssetsFilter": ["==", "function", "voltageRegulator"],
"showInSearch": false,
"iconSize": 0.19,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"labelMinZoom": 15,
"labelLayout": {
"symbol-placement": "point",
"text-anchor": "top",
"text-justify": "center",
"text-offset": [0, 0.5],
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 14
}
]
},
{
"name": "Switches",
"showInSearch": true,
"cimClasses": ["Switch"],
"type": "group",
"layers": [
{
"name": "Fuses",
"type": "node",
"sourceLayer": "nodes",
"matchAssetsFilter": ["==", "class", "Fuse"],
"showInSearch": true,
"cimClasses": ["Fuse"],
"iconExpression": [
"concat",
["get", "symbol"],
"_",
["case", ["get", "open"], "OPEN", "CLOSED"],
[
"case",
["all", ["==", ["get", "open"], false], ["==", ["get", "isAbnormalState"], true]],
"_NORMALLY_OPEN",
["all", ["==", ["get", "open"], true], ["==", ["get", "isAbnormalState"], true]],
"_NORMALLY_CLOSED",
""
]
],
"iconSize": 0.19,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"labelMinZoom": 15,
"labelLayout": {
"symbol-placement": "point",
"text-anchor": "top",
"text-justify": "center",
"text-offset": [0, 0.5],
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 7
},
{
"name": "Other Switches",
"type": "node",
"sourceLayer": "nodes",
"matchAssetsFilter": ["all", ["==", "isSwitch", true], ["!=", "class", "Fuse"], ["!=", "class", "Recloser"]],
"showInSearch": true,
"cimClasses": ["Cut", "Disconnector", "GroundDisconnector", "Jumper", "ProtectedSwitch"],
"iconExpression": [
"concat",
["get", "symbol"],
"_",
["case", ["get", "open"], "OPEN", "CLOSED"],
[
"case",
["all", ["==", ["get", "open"], false], ["==", ["get", "isAbnormalState"], true]],
"_NORMALLY_OPEN",
["all", ["==", ["get", "open"], true], ["==", ["get", "isAbnormalState"], true]],
"_NORMALLY_CLOSED",
""
]
],
"iconSize": 0.19,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"labelMinZoom": 15,
"labelLayout": {
"symbol-placement": "point",
"text-anchor": "top",
"text-justify": "center",
"text-offset": [0, 0.5],
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 8
},
{
"name": "Reclosers",
"type": "node",
"sourceLayer": "nodes",
"matchAssetsFilter": ["==", "class", "Recloser"],
"showInSearch": false,
"iconExpression": [
"concat",
["get", "symbol"],
"_",
["case", ["get", "open"], "OPEN", "CLOSED"],
[
"case",
["all", ["==", ["get", "open"], false], ["==", ["get", "isAbnormalState"], true]],
"_NORMALLY_OPEN",
["all", ["==", ["get", "open"], true], ["==", ["get", "isAbnormalState"], true]],
"_NORMALLY_CLOSED",
""
]
],
"iconSize": 0.19,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"labelMinZoom": 15,
"labelLayout": {
"symbol-placement": "point",
"text-anchor": "top",
"text-justify": "center",
"text-offset": [0, 0.5],
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 15
}
]
},
{
"name": "Poles",
"showInSearch": true,
"cimClasses": ["Pole"],
"type": "group",
"layers": [
{
"name": "Poles Current",
"type": "node",
"sourceLayer": "poles",
"matchAssetsFilter": [
"in",
"classification",
"lv",
"hv",
"lv/hv",
"sub-transmission",
"lv/sub-transmission",
"hv/sub-transmission",
"lv/hv/sub-transmission"
],
"showInSearch": false,
"iconExpression": ["coalesce", ["get", "symbol"], "POLE"],
"iconSize": 0.3,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"labelMinZoom": 15,
"labelLayout": {
"symbol-placement": "point",
"text-anchor": "top",
"text-justify": "center",
"text-offset": [0, 0.5],
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 3,
"capabilities": {
"voltageFiltering": "any-level"
}
},
{
"name": "Poles Future",
"type": "node",
"sourceLayer": "poles",
"matchAssetsFilter": [
"in",
"classification",
"lv/future hv",
"future sub-transmission",
"hv/future sub-transmission",
"lv/hv/future sub-transmission",
"lv/future hv/future sub-transmission",
"future hv/sub-transmission"
],
"showInSearch": false,
"iconExpression": ["coalesce", ["get", "symbol"], "POLE"],
"iconSize": 0.3,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"labelMinZoom": 15,
"labelLayout": {
"symbol-placement": "point",
"text-anchor": "top",
"text-justify": "center",
"text-offset": [0, 0.5],
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 4,
"capabilities": {
"voltageFiltering": "any-level"
}
},
{
"name": "Other Poles",
"type": "node",
"sourceLayer": "poles",
"matchAssetsFilter": [
"!in",
"classification",
"lv/future hv",
"future sub-transmission",
"hv/future sub-transmission",
"lv/hv/future sub-transmission",
"lv/future hv/future sub-transmission",
"future hv/sub-transmission",
"lv",
"hv",
"lv/hv",
"sub-transmission",
"lv/sub-transmission",
"hv/sub-transmission",
"lv/hv/sub-transmission"
],
"showInSearch": false,
"iconExpression": ["coalesce", ["get", "symbol"], "POLE"],
"iconSize": 0.3,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"labelMinZoom": 15,
"labelLayout": {
"symbol-placement": "point",
"text-anchor": "top",
"text-justify": "center",
"text-offset": [0, 0.5],
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 5,
"capabilities": {
"voltageFiltering": "any-level"
}
}
]
},
{
"name": "Meters",
"showInSearch": true,
"cimClasses": ["Meter"],
"type": "group",
"layers": [
{
"name": "Meters",
"type": "node",
"sourceLayer": "meters",
"matchAssetsFilter": ["all"],
"showInSearch": false,
"iconExpression": ["literal", "METER"],
"iconSize": 0.15,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"labelMinZoom": 17,
"labelLayout": {
"symbol-placement": "point",
"text-anchor": "top",
"text-justify": "center",
"text-offset": [0, 0.5],
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 16
},
{
"name": "Meter Service Locations",
"type": "node",
"sourceLayer": "meterServiceLocations",
"matchAssetsFilter": ["all"],
"showInSearch": true,
"cimClasses": ["UsagePoint"],
"iconExpression": ["literal", "METER_SERVICE_LOCATION"],
"iconSize": 0.15,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"labelMinZoom": 17,
"labelLayout": {
"symbol-placement": "point",
"text-anchor": "top",
"text-justify": "center",
"text-offset": [0, 0.5],
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 17
}
]
},
{
"name": "Power Electronic Units",
"showInSearch": true,
"cimClasses": ["PowerElectronicsUnit"],
"type": "group",
"layers": [
{
"name": "Battery Unit",
"type": "node",
"sourceLayer": "powerElectronicsUnit",
"matchAssetsFilter": ["==", "class", "BatteryUnit"],
"showInSearch": true,
"cimClasses": ["BatteryUnit"],
"visibleByDefault": false,
"showLabelFilter": false,
"iconSize": 0.15,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"zIndex": 18
},
{
"name": "Photo Voltaic Unit",
"type": "node",
"sourceLayer": "powerElectronicsUnit",
"matchAssetsFilter": ["==", "class", "PhotoVoltaicUnit"],
"showInSearch": true,
"cimClasses": ["PhotoVoltaicUnit"],
"visibleByDefault": false,
"showLabelFilter": false,
"iconSize": 0.15,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"zIndex": 19
},
{
"name": "Power Electronics Wind Unit",
"type": "node",
"sourceLayer": "powerElectronicsUnit",
"matchAssetsFilter": ["==", "class", "PowerElectronicsWindUnit"],
"showInSearch": true,
"cimClasses": ["PowerElectronicsWindUnit"],
"visibleByDefault": false,
"showLabelFilter": false,
"iconSize": 0.2,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"zIndex": 20
}
]
},
{
"name": "Energy Consumers",
"type": "node",
"sourceLayer": "nodes",
"matchAssetsFilter": ["==", "class", "EnergyConsumer"],
"showInSearch": true,
"cimClasses": ["EnergyConsumer"],
"showLabelFilter": false,
"iconSize": 0.15,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"zIndex": 12
},
{
"name": "Power Electronics Connection",
"type": "node",
"sourceLayer": "nodes",
"matchAssetsFilter": ["==", "class", "PowerElectronicsConnection"],
"showInSearch": true,
"cimClasses": ["PowerElectronicsConnection"],
"showLabelFilter": false,
"iconSize": 0.19,
"layout": {
"icon-anchor": "center",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "map",
"symbol-sort-key": ["case", ["has", "zPriority"], ["to-number", ["get", "zPriority"]], 0]
},
"zIndex": 13
},
{
"name": "Busbars",
"type": "line",
"sourceLayer": "busbars",
"matchAssetsFilter": ["all"],
"showInSearch": true,
"cimClasses": ["BusbarSection"],
"paint": {
"line-color": "black",
"line-width": 4
},
"labelLayout": {
"symbol-placement": "line",
"text-size": 12,
"text-letter-spacing": 0.06
},
"labelPaint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 3
},
"zIndex": 21,
"capabilities": {
"voltageFiltering": "respect-voltage-levels",
"hasOffSupplyVariant": true,
"hasPartiallyOffSupplyVariant": true,
"enableRecolouring": true
}
},
{
"name": "Operational Restrictions",
"type": "node",
"sourceLayer": "operationalRestrictions",
"matchAssetsFilter": ["all"],
"showInSearch": true,
"cimClasses": ["OperationalRestriction"],
"showLabelFilter": false,
"iconExpression": ["concat", ["get", "symbol"], "_POINTER"],
"iconSize": 0.35,
"layout": {
"icon-anchor": "bottom-right",
"icon-allow-overlap": true,
"icon-rotate": {
"property": "rotation",
"stops": [
[0, 0],
[360, 360]
]
},
"icon-rotation-alignment": "viewport",
"symbol-sort-key": ["match", ["get", "class"], "OP_RES_OPERABLE", 2, "OP_RES_INOPERABLE", 1, 1],
"icon-pitch-alignment": "viewport"
},
"zIndex": 22,
"capabilities": {
"voltageFiltering": "none"
}
}
],
"enableOtherAssetsLayer": true
}