GeovistoMapDefaults
geovisto-map / GeovistoMapDefaults
Class: GeovistoMapDefaults
This class provide functions which return the default state values.
Author
Jiri Hynek
Extends
Implements
Constructors
new GeovistoMapDefaults()
new GeovistoMapDefaults():
GeovistoMapDefaults
Returns
Inherited from
Properties
idString?
protected
optional
idString:string
Inherited from
Source
model/internal/object/MapObjectDefaults.ts:13
TYPE
static
TYPE:string
="geovisto-map"
Source
model/internal/map/GeovistoMapDefaults.ts:47
id
static
protected
id:number
Inherited from
Source
model/internal/object/MapObjectDefaults.ts:12
Methods
generateId()
protected
generateId():string
It returns identifier which is used when no identifier is specified.
Returns
string
Inherited from
Source
model/internal/object/MapObjectDefaults.ts:54
getConfig()
getConfig():
IMapConfig
It returns default map config.
All config variables are undefined since they might override the props.
Returns
Implementation of
Overrides
Source
model/internal/map/GeovistoMapDefaults.ts:36
getConfigManager()
getConfigManager():
IMapConfigManager
It returns default map config manager.
Returns
Implementation of
Source
model/internal/map/GeovistoMapDefaults.ts:27
getEventManager()
getEventManager():
IMapEventManager
It returns a default map event manager.
Returns
event manager
Implementation of
Source
model/internal/map/GeovistoMapDefaults.ts:61
getGeoDataManager()
getGeoDataManager():
IGeoDataManager
It returns a default geo data manager.
Returns
Implementation of
IMapDefaults
.getGeoDataManager
Source
model/internal/map/GeovistoMapDefaults.ts:98
getGlobals()
getGlobals():
IMapGlobals
It returns a default global state variables.
Returns
Implementation of
Source
model/internal/map/GeovistoMapDefaults.ts:107
getId()
getId():
string
It returns identifier which is used when no identifier is specified.
Returns
string
Implementation of
Inherited from
Source
model/internal/object/MapObjectDefaults.ts:44
getMapCenter()
getMapCenter():
object
It returns a default center coordinates in Leaflet map.
Returns
object
lat
lat:
number
lng
lng:
number
Implementation of
Source
model/internal/map/GeovistoMapDefaults.ts:125
getMapData()
getMapData():
IMapDataManager
It returns a default map data manager.
Returns
Implementation of
Source
model/internal/map/GeovistoMapDefaults.ts:91
getMapStructure()
getMapStructure():
object
It returns a default map structure defined with respect to the leaflet library.
Returns
object
maxBounds
maxBounds: [[
number
,number
], [number
,number
]]
maxZoom
maxZoom:
number
Implementation of
Source
model/internal/map/GeovistoMapDefaults.ts:135
getProps()
getProps():
IMapObjectProps
It returns default props if no props are given.
Returns
Implementation of
Inherited from
Source
model/internal/object/MapObjectDefaults.ts:18
getTemplates()
getTemplates():
IMapTemplates
It returns a default managers providing templates.
Returns
Implementation of
Source
model/internal/map/GeovistoMapDefaults.ts:68
getToolTemplates()
getToolTemplates():
MapToolsManager
It returns a default tools manager containing used tools.
Returns
Implementation of
Source
model/internal/map/GeovistoMapDefaults.ts:77
getTools()
getTools():
IMapToolsManager
It returns a default tools manager containing used tools.
Returns
Implementation of
Source
model/internal/map/GeovistoMapDefaults.ts:84
getType()
getType():
string
It returns a unique type string of the object.
Returns
string
Implementation of
Overrides
Source
model/internal/map/GeovistoMapDefaults.ts:52
getZoom()
getZoom():
number
It returns a default zoom level.
Returns
number