# Class: MiniMapControl
# Table of contents
# Constructors
# Methods
- _convertBoundsToPoints
- _createContainer
- _load
- _mouseDown
- _mouseMove
- _mouseUp
- _moveTrackingRect
- _onAdd
- _onRemove
- _onSize
- _preventDefault
- _setTrackingRectBounds
- _update
- _updateMapExtent
- _zoomAdjust
- getDefaultPosition
- getMap
- init
- onAdd
- onRemove
# Constructors
# constructor
+ new MiniMapControl(options
: MiniMapControlOption): MiniMapControl
# Parameters
Name | Type |
---|---|
options | MiniMapControlOption |
Returns: MiniMapControl
# Methods
# _convertBoundsToPoints
▸ _convertBoundsToPoints(bounds
: any): void
# Parameters
Name | Type |
---|---|
bounds | any |
Returns: void
# _createContainer
▸ _createContainer(parentMap
: Map): HTMLDivElement
# Parameters
Name | Type |
---|---|
parentMap | Map |
Returns: HTMLDivElement
# _load
▸ _load(): void
Returns: void
# _mouseDown
▸ _mouseDown(e
: any): void
# Parameters
Name | Type |
---|---|
e | any |
Returns: void
# _mouseMove
▸ _mouseMove(e
: any): void
# Parameters
Name | Type |
---|---|
e | any |
Returns: void
# _mouseUp
▸ _mouseUp(): void
Returns: void
# _moveTrackingRect
▸ _moveTrackingRect(offset
: any): any
# Parameters
Name | Type |
---|---|
offset | any |
Returns: any
# _onAdd
▸ _onAdd(parentMap
: Map): HTMLElement
# Parameters
Name | Type |
---|---|
parentMap | Map |
Returns: HTMLElement
# _onRemove
▸ _onRemove(): void
Returns: void
# _onSize
▸ _onSize(): void
Returns: void
# _preventDefault
▸ _preventDefault(e
: any): void
# Parameters
Name | Type |
---|---|
e | any |
Returns: void
# _setTrackingRectBounds
▸ _setTrackingRectBounds(bounds
: any): void
# Parameters
Name | Type |
---|---|
bounds | any |
Returns: void
# _update
▸ _update(e
: any): void
# Parameters
Name | Type |
---|---|
e | any |
Returns: void
# _updateMapExtent
▸ _updateMapExtent(data
: any): void
# Parameters
Name | Type |
---|---|
data | any |
Returns: void
# _zoomAdjust
▸ _zoomAdjust(): void
Returns: void
# getDefaultPosition
▸ getDefaultPosition(): string
Returns: string
# getMap
▸ getMap(): Map
Returns: Map
# init
▸ init(options
: MiniMapControlOption): void
# Parameters
Name | Type |
---|---|
options | MiniMapControlOption |
Returns: void
# onAdd
▸ onAdd(parentMap
: Map): HTMLElement
# Parameters
Name | Type |
---|---|
parentMap | Map |
Returns: HTMLElement
# onRemove
▸ onRemove(): void
Returns: void