@geoblocks/ol-comfy
    Preparing search index...

    Class Map

    Provides helper for OL map.

    Index

    Constructors

    Methods

    • Add an identified control into the map.

      Parameters

      • controlUid: string

        the (uniq) id of the controller. If it already exists, the control will not be added.

      • control: Control

        the control to add.

      Returns void

    • Based on the control unique id, check whether the control is already on the map.

      Parameters

      • controlUid: string

      Returns boolean

    • Returns Map

      an new empty map (no layer, no controls).