Skip to content

vectorLayer

Christoph edited this page Sep 14, 2022 · 1 revision
graph TB;
    id1(vectorLayer)-->id2(id);
    id1(vectorLayer)-->id3(internalName);
    id1(vectorLayer)-->id4(externalNames);
    id1(vectorLayer)-->id5(correspondingRasterLayer);
    id1(vectorLayer)-->id6(vectorTypes);
    id1(vectorLayer)-->id7(attributes);
    id1(vectorLayer)-->id8(featureInfo);
    id1(vectorLayer)-->id9(style);
Loading

Overview

Vector layers are only used for dsplaying annotations and querying feature data including the geometry of a feature. The vector layer object contains the following data:

{
    "id": 0,
    "internalName": "",
    "externalNames": {},
    "correspondingRasterLayer": 0,
    "vectorTypes": {},
    "attributes": {},
    "featureInfo": {},
    "style": {}
}

Data

id

An integer value representing the raster layer, should be unique in the whole configuration.

internalName

A string for the name used for internal uses of the app. Should be unique in the whole configuration.

externalNames

An object containing the external names of the vector layer.

correspondingRasterLayer

The ID of the raster layer, which should be connected to this vector layer. This value can be null, if no raster layer shuld be connected. If the connected raster layer is disabled, the map annotations of this vector layer will be disabled too.

vectorTypes

An object representing the data type for vector data.

attributes

An object containing information about the attributes to be queried from the data source for the map annotations. These attributes will be used for filtered feature info requests after tapping on an annotation.

featureInfo

An object containing information about the feature info requests after tapping on a map annotation.

style

An object containing information about the map annotation and the geometry response of feature data requests.