NextGIS Frontend
    Preparing search index...

    Parameters and methods that control the behavior of the map and the layers on it.

    Implements

    Index

    Constructors

    Properties

    controlAdapters: { ATTRIBUTION: typeof Attribution; ZOOM: typeof ZoomControl } = OlMapAdapter.controlAdapters

    Named map controls specific for each framework.

    emitter: EventEmitter<DefaultEventMap> = ...

    An instance of the EventEmitter class for listen and emit events

    layerAdapters: {
        GEOJSON: typeof GeoJsonAdapter;
        IMAGE: typeof ImageAdapter;
        OSM: typeof OsmAdapter;
        TILE: typeof TileAdapter;
        WMS: typeof WmsAdapter;
    } = OlMapAdapter.layerAdapters

    Named adapters for map layers through a generic interface.

    map?: Map

    Original map object of GIS framework (Leaflet.Map, Openlayers.Map, MaplibreGL.Map or other)

    options: MapOptions<Map> = ...
    controlAdapters: { ATTRIBUTION: typeof Attribution; ZOOM: typeof ZoomControl } = ...
    layerAdapters: {
        GEOJSON: typeof GeoJsonAdapter;
        IMAGE: typeof ImageAdapter;
        OSM: typeof OsmAdapter;
        TILE: typeof TileAdapter;
        WMS: typeof WmsAdapter;
    } = ...

    Methods

    • Parameters

      • evt: MapBrowserPointerEvent
      • type: "click" | "dblclick" = 'click'

      Returns void

    • Parameters

      • angle: number

      Returns void