Constructors

Properties

addFeatureCollection: ((mapId, vectorLayerId, featureCollection) => void) = addFeatureCollection

Type declaration

    • (mapId, vectorLayerId, featureCollection): void
    • add Feature Collection to given vector layer

      Parameters

      Returns void

create: ((mapId, vectorLayerId) => VectorLayer<VectorSource<Geometry>>) = create

Type declaration

    • (mapId, vectorLayerId): VectorLayer<VectorSource<Geometry>>
    • create vectorLayer within given map

      Parameters

      • mapId: string
      • vectorLayerId: string

      Returns VectorLayer<VectorSource<Geometry>>

get: ((mapId, vectorLayerId) => ARVectorLayer) = get

Type declaration

    • (mapId, vectorLayerId): ARVectorLayer
    • get given vectorLayerId within given map

      Parameters

      • mapId: string
      • vectorLayerId: string

      Returns ARVectorLayer

getSource: ((mapId, vectorLayerId) => VectorSource<Geometry>) = getSource

Type declaration

    • (mapId, vectorLayerId): VectorSource<Geometry>
    • Parameters

      • mapId: string
      • vectorLayerId: string

      Returns VectorSource<Geometry>

removeFeature: ((mapId, vectorLayerId, featureId) => void) = removeFeature

Type declaration

    • (mapId, vectorLayerId, featureId): void
    • remove feature from given vectorLayer

      Parameters

      • mapId: string
      • vectorLayerId: string
      • featureId: string

      Returns void

setFeatureCollections: ((mapId, vectorLayerId, featureCollections) => void) = setFeatureCollections

Type declaration

    • (mapId, vectorLayerId, featureCollections): void
    • replcace Feature Collection within given vector layer

      Parameters

      Returns void

Generated using TypeDoc