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

Hierarchy

  • default

Implements

Constructors

Properties

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

Named map controls specific for each framework.

Type declaration

  • ATTRIBUTION: typeof Attribution
  • ZOOM: typeof ZoomControl
emitter: EventEmitter = ...

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.

Type declaration

  • GEOJSON: typeof GeoJsonAdapter
  • IMAGE: typeof ImageAdapter
  • OSM: typeof OsmAdapter
  • TILE: typeof TileAdapter
  • WMS: typeof WmsAdapter
map?: Map

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

options: MapOptions<Map, any> = ...
controlAdapters: {
    ATTRIBUTION: typeof Attribution;
    ZOOM: typeof ZoomControl;
} = ...

Type declaration

  • ATTRIBUTION: typeof Attribution
  • ZOOM: typeof ZoomControl
layerAdapters: {
    GEOJSON: typeof GeoJsonAdapter;
    IMAGE: typeof ImageAdapter;
    OSM: typeof OsmAdapter;
    TILE: typeof TileAdapter;
    WMS: typeof WmsAdapter;
} = ...

Type declaration

  • GEOJSON: typeof GeoJsonAdapter
  • IMAGE: typeof ImageAdapter
  • OSM: typeof OsmAdapter
  • TILE: typeof TileAdapter
  • WMS: typeof WmsAdapter

Methods

Generated using TypeDoc