WEB-GIS framework map interface
WEB-GIS framework layer interface
WEB-GIS framework control interface
Named map controls specific for each framework.
ReadonlyemitterAn instance of the EventEmitter class for listen and emit events
OptionalisState of readiness of the card for use.
Named adapters for map layers through a generic interface.
OptionalmapOriginal map object of GIS framework (Leaflet.Map, Openlayers.Map, MaplibreGL.Map or other)
Optionaloptions: MapControls[K]OptionalbeforeOptionaloptions: MapOptions<any, any>OptionalcreateOptionalcreateOptionaloptions: CreateControlOptionsOptionalcreateOptionalfetchOptionalfitOptionaloptions: FitOptionsOptionaloptions: FitOptionsOptionalgetOptionalgetOptionalgetOptionallocateTries to locate the user using the Geolocation API, firing a locationfound event with location data on success or a locationerror event on failure, and optionally sets the map view to the user's location with respect to detection accuracy (or to the world view if geolocation failed). Note that, if your page doesn't use HTTPS, this method will fail in modern browsers (Chrome 50 and newer) See Locate options for more details.
Optionalevents: LocationEventsOptionalsetOptionallayers: { [name: string]: LayerAdapter }OptionalsetOptionalzoom: numberOptionalzoomzoom the map by one quantile of the current adapter
Optionalzoomzoom out the map by one quantile of the current adapter
Parameters and methods that control the behavior of the map and the layers on it.