GeoLeaf Core API - v3.0.0
Preparing search index...
capabilities/scale/scale-control
ScaleMapLike
Interface ScaleMapLike
Subset of the map adapter consumed by the scale control.
interface
ScaleMapLike
{
on
(
event
:
string
,
handler
:
()
=>
void
)
:
void
;
off
(
event
:
string
,
handler
:
()
=>
void
)
:
void
;
addControl
(
control
:
HTMLElement
,
position
:
string
)
:
GeoLeafControl
;
getContainer
()
:
HTMLElement
;
getCenter
()
:
GeoLeafLatLng
;
getZoom
()
:
number
;
setView
(
center
:
GeoLeafLatLng
,
zoom
:
number
)
:
void
;
pointToLatLng
(
point
:
GeoLeafPoint
)
:
GeoLeafLatLng
;
}
Index
Methods
on
off
add
Control
get
Container
get
Center
get
Zoom
set
View
point
To
Lat
Lng
Methods
on
on
(
event
:
string
,
handler
:
()
=>
void
)
:
void
Parameters
event
:
string
handler
:
()
=>
void
Returns
void
off
off
(
event
:
string
,
handler
:
()
=>
void
)
:
void
Parameters
event
:
string
handler
:
()
=>
void
Returns
void
add
Control
addControl
(
control
:
HTMLElement
,
position
:
string
)
:
GeoLeafControl
Parameters
control
:
HTMLElement
position
:
string
Returns
GeoLeafControl
get
Container
getContainer
()
:
HTMLElement
Returns
HTMLElement
get
Center
getCenter
()
:
GeoLeafLatLng
Returns
GeoLeafLatLng
get
Zoom
getZoom
()
:
number
Returns
number
set
View
setView
(
center
:
GeoLeafLatLng
,
zoom
:
number
)
:
void
Parameters
center
:
GeoLeafLatLng
zoom
:
number
Returns
void
point
To
Lat
Lng
pointToLatLng
(
point
:
GeoLeafPoint
)
:
GeoLeafLatLng
Parameters
point
:
GeoLeafPoint
Returns
GeoLeafLatLng
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
on
off
add
Control
get
Container
get
Center
get
Zoom
set
View
point
To
Lat
Lng
GeoLeaf Core API - v3.0.0
Loading...
Subset of the map adapter consumed by the scale control.