MapObjectDefaults
geovisto-map / MapObjectDefaults
Class: MapObjectDefaults
This class provide functions which return the default state values.
Author
Jiri Hynek
Extended by
Implements
Constructors
new MapObjectDefaults()
new MapObjectDefaults():
MapObjectDefaults
Returns
Properties
idString?
protected
optional
idString:string
Source
model/internal/object/MapObjectDefaults.ts:13
id
static
protected
id:number
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
Source
model/internal/object/MapObjectDefaults.ts:54
getConfig()
getConfig():
IMapObjectConfig
It returns a default config if no config is given.
Returns
Implementation of
Source
model/internal/object/MapObjectDefaults.ts:27
getId()
getId():
string
It returns identifier which is used when no identifier is specified.
Returns
string
Implementation of
Source
model/internal/object/MapObjectDefaults.ts:44
getProps()
getProps():
IMapObjectProps
It returns default props if no props are given.
Returns
Implementation of
Source
model/internal/object/MapObjectDefaults.ts:18
getType()
getType():
string
It returns a unique type string of the tool.
Returns
string