UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

15 lines (14 loc) 569 B
import GirafeSingleton from '../../base/GirafeSingleton'; import Map from 'ol/Map'; import { Extent } from 'ol/extent'; import BaseLayer from 'ol/layer/Base'; /** The singleton containing the main OpenLayers map accessible from everywhere */ export default class MapManager extends GirafeSingleton { private readonly map; getMap(): Map; /** * @returns an array of BaseLayer objects that should be printed and that are not in the layer tree. */ getLayersToPrint(): BaseLayer[]; zoomToExtent(extent: Extent, minResolution?: number): void; }