# Interface: MousePositionControlOption
# Table of contents
# Properties
# Properties
# digits
• Optional
digits: number
# labelFormat
• Optional
labelFormat: (lng
: number, lat
: number, x
: number, y
: number, map?
: Map) => string
# Type declaration
▸ (lng
: number, lat
: number, x
: number, y
: number, map?
: Map): string
# Parameters
Name | Type |
---|---|
lng | number |
lat | number |
x | number |
y | number |
map? | Map |
Returns: string
# projection
• Optional
projection: Projection
# showBearing
• Optional
showBearing: boolean
# showLatLng
• Optional
showLatLng: boolean
# showPitch
• Optional
showPitch: boolean
# showZoom
• Optional
showZoom: boolean
# style
• Optional
style: object
# Type declaration
Name | Type |
---|---|
backgroundColor | string |
border | string |
# trackCenter
• Optional
trackCenter: boolean