{
  "map": {
    "elementName": "map",
    "baseMap": "osm",
    "renderer": "canvas",
    "identify": {
      "eventName": "click",
      "layers": "opengis.api.constants.identify.layersCombination.all"
    },
    "longitude": 30.5,
    "latitude": 59.95,
    "zoom": 13
  },
  "geoserver": {
    "wfs": {
      "server": "http://srv-app:8100/geoserver/",
      "layers": [
        {
          "id": "geoTest:Substation",
          "className": "geoTest:Substation",
          "geometryType": "Point",
          "minResolution": 0,
          "maxResolution": 1000
        },
        {
          "id": "geoTest:Structure",
          "className": "geoTest:Structure",
          "geometryType": "Point",
          "minResolution": 0,
          "maxResolution": 10
        },
        {
          "id": "geoTest:PowerLine",
          "className": "geoTest:PowerLine",
          "geometryType": "MultiLineString",
          "minResolution": 0,
          "maxResolution": 1000,
          "opacity": 0.9
        }
      ]
    }
  },
  "arcgis": {
    "rest":
    {
      "server": "http://srv-gis/arcgis/rest/services/LE/Features/FeatureServer/",
      "layers": [
        {
          "id": "4",
          "className": "le:substation"
        },
        {
          "id": "12",
          "className": "le:structure",
          "minResolution": 0,
          "maxResolution": 10
        },
        {
          "id": "9",
          "className": "le:powerLine"
        }
      ]
    }
  },
  styles": {
    wfs": {
      "geoTest":PowerLine"": {
        field": "nominalVoltage",
        default": {
          stroke": {
            width": 1,
            color": "#08F"
          }
        },
        values": {
          110": {
            stroke": {
              width": 4,
              color": "#F00"
            }
          },
          35": {
            stroke": {
              width": 2,
              color": "#F0F"
            }
          },
          10": {
            stroke": {
              width": 2,
              color": "#000"
            }
          }
        }
      },
      "geoTest":Structure"": {
        label": {
          field": "localName",
          offsetX": -20,
          offsetY": -10,
          font": "12px sans-serif",
          stroke": {
            color": "#AAA",
            width": 1
          },
          fill": {
            color": "#333"
          },
          minResolution": 0,
          maxResolution": 5
        },
        image": {
          fill": {
            color": "#f4f4f4"
          },
          radius": 4,
          stroke": {
            width": 1,
            color": "#000000"
          }
        }
      },
      "geoTest":Substation"": {
        icon": {
          src": "../icons/placeholder.png",
          size": [20, 20],
          imgSize": [20, 20]
        },
        label": {
          field": "localName",
          offsetX": -20,
          offsetY": -10,
          font": "10px sans-serif",
          stroke": {
            color": "#AAA",
            width": 1
          },
          fill": {
            color": "#333"
          },
          minResolution": 0,
          maxResolution": 30
        },
      }
    },
    address": {
      icon": {
        src": "../icons/address-point.png",
        size": [32, 32],
        imgSize": [32, 32]
      },
      label": {
        field": "address",
        offsetX": 24,
        offsetY": 0,
        rotateWithView": false,
        textAlign": 'left',
        font": "14px sans-serif",
        stroke": {
          color": "#ffffff",
          width": 1
        },
        fill": {
          color": "#F00"
        },
        minResolution": 0,
        maxResolution": 200
      },
    },
    wfsInterval": {
      "geoTest":PowerLine"": {
        field": "nominalVoltage",
        default": {
          stroke": {
            width": 1,
            color": "#000000"
          }
        },
        values": {
          "(35~1150]"": {
            stroke": {
              width": 4,
              color": "#ff3200"
            }
          },
          "(20~35]"": {
            stroke": {
              width": 4,
              color": "#ff08d9"
            }
          },
          "(10~20]"": {
            stroke": {
              width": 3,
              color": "#0098ff"
            }
          },
          "(0.4~10]"": {
            stroke": {
              width": 2,
              color": "#008d00"
            }
          },
          "[0~0.4]"": {
            stroke": {
              width": 1,
              color": "#ff1000"
            }
          }
        }
      },
    },
    graphic": {
      fill": {
        color": "#fff6aa"
      },
      image": {
        fill": {
          color": "#FFF"
        },
        radius": 4,
        stroke": {
          width": 1,
          color": "#000"
        }
      }
    },
    buffer": {
      fill": {
        color": "#07ceff"
      },
      stroke": {
        width": 1,
        color": "#7ed1ff"
      }
    }
  }
}