Skip to main content

IMapDefaults

geovisto-mapReadme | API


geovisto-map / IMapDefaults

Interface: IMapDefaults

This interface declares functions which return the default state values.

Author

Jiri Hynek

Extends

Methods

getConfig()

getConfig(): IMapConfig

It returns default map config.

Returns

IMapConfig

Overrides

IMapObjectDefaults.getConfig

Source

model/types/map/IMapDefaults.ts:26


getConfigManager()

getConfigManager(): IMapConfigManager

It returns default map config manager.

Returns

IMapConfigManager

Source

model/types/map/IMapDefaults.ts:21


getEventManager()

getEventManager(): IMapEventManager

It returns a default map event manager.

Returns

IMapEventManager

Source

model/types/map/IMapDefaults.ts:31


getGeoDataManager()

getGeoDataManager(): IGeoDataManager

It returns a default geo data manager.

Returns

IGeoDataManager

Source

model/types/map/IMapDefaults.ts:56


getGlobals()

getGlobals(): IMapGlobals

It returns default global state variables.

Returns

IMapGlobals

Source

model/types/map/IMapDefaults.ts:61


getId()

getId(): string

It returns identifier which is used when no identifier is specified.

Returns

string

Inherited from

IMapObjectDefaults.getId

Source

model/types/object/IMapObjectDefaults.ts:32


getMapCenter()

getMapCenter(): object

It returns default center coordinates in Leaflet map.

Returns

object

lat

lat: number

lng

lng: number

Source

model/types/map/IMapDefaults.ts:71


getMapData()

getMapData(): IMapDataManager

It returns default map data manager.

Returns

IMapDataManager

Source

model/types/map/IMapDefaults.ts:51


getMapStructure()

getMapStructure(): object

It returns the map structure defined with respect to the leaflet library.

Returns

object

maxBounds

maxBounds: [[number, number], [number, number]]

maxZoom

maxZoom: number

Source

model/types/map/IMapDefaults.ts:76


getProps()

getProps(): IMapObjectProps

It returns default props if no props are given.

Returns

IMapObjectProps

Inherited from

IMapObjectDefaults.getProps

Source

model/types/object/IMapObjectDefaults.ts:17


getTemplates()

getTemplates(): IMapTemplates

It returns default map templates.

Returns

IMapTemplates

Source

model/types/map/IMapDefaults.ts:36


getToolTemplates()

getToolTemplates(): IMapToolsManager

It returns a default managers providing templates.

Returns

IMapToolsManager

Source

model/types/map/IMapDefaults.ts:41


getTools()

getTools(): IMapToolsManager

It returns a default tools manager containing used tools.

Returns

IMapToolsManager

Source

model/types/map/IMapDefaults.ts:46


getType()

getType(): string

It returns a unique type string of the map object.

Returns

string

Inherited from

IMapObjectDefaults.getType

Source

model/types/object/IMapObjectDefaults.ts:27


getZoom()

getZoom(): number

It returns default zoom level.

Returns

number

Source

model/types/map/IMapDefaults.ts:66