NextGIS Frontend
Preparing search index...
@nextgis/qms-leaflet
QmsControl
Class QmsControl
Hierarchy
Control
QmsControl
Index
Constructors
constructor
Properties
control
options
Methods
add
To
get
Container
get
Position
on
Add
on
Remove
remove
set
Position
add
Init
Hook
call
Init
Hooks
extend
include
merge
Options
Constructors
constructor
new
QmsControl
(
options
?:
QmsControlOptions
)
:
QmsControl
Parameters
options
:
QmsControlOptions
= {}
Returns
QmsControl
Properties
Readonly
control
control
:
QmsControlElement
options
options
:
ControlOptions
Methods
add
To
addTo
(
map
:
Map
)
:
this
Parameters
map
:
Map
Returns
this
get
Container
getContainer
()
:
HTMLElement
|
undefined
Returns
HTMLElement
|
undefined
get
Position
getPosition
()
:
ControlPosition
Returns
ControlPosition
on
Add
onAdd
(
map
:
Map
)
:
HTMLElement
Parameters
map
:
Map
Returns
HTMLElement
on
Remove
onRemove
()
:
void
Returns
void
remove
remove
()
:
this
Returns
this
set
Position
setPosition
(
position
:
ControlPosition
)
:
this
Parameters
position
:
ControlPosition
Returns
this
Static
add
Init
Hook
addInitHook
(
initHookFn
:
()
=>
void
)
:
any
Parameters
initHookFn
:
()
=>
void
Returns
any
addInitHook
(
methodName
:
string
,
...
args
:
any
[]
)
:
any
Parameters
methodName
:
string
...
args
:
any
[]
Returns
any
Static
call
Init
Hooks
callInitHooks
()
:
void
Returns
void
Static
extend
extend
<
T
extends
object
,
Options
extends
ControlOptions
=
ControlOptions
>
(
props
:
T
,
)
:
new
(
...
args
:
any
[]
)
=>
T
&
typeof
Control
Type Parameters
T
extends
object
Options
extends
ControlOptions
=
ControlOptions
Parameters
props
:
T
Returns
new
(
...
args
:
any
[]
)
=>
T
&
typeof
Control
Static
include
include
(
props
:
any
)
:
any
Parameters
props
:
any
Returns
any
Static
merge
Options
mergeOptions
(
props
:
any
)
:
any
Parameters
props
:
any
Returns
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
control
options
Methods
add
To
get
Container
get
Position
on
Add
on
Remove
remove
set
Position
add
Init
Hook
call
Init
Hooks
extend
include
merge
Options
NextGIS Frontend
Loading...