@geogirafe/lib-geoportal
    Preparing search index...
    Index

    Constructors

    Properties

    defaultStyle: StyleFunction | undefined
    drawingLayer: VectorLayer
    drawingSource: VectorSource

    Methods

    • Adds features to the drawing source if they are missing and updates their style each time a property changes. Adding them to the source is only necessary if the feature originates from a deserialized state and not from a drawing action in the map.

      Parameters

      • dFeatures: DrawingFeature[]

        An array of DrawingFeature objects to be added.

      Returns void