Zum Inhalt

@smartmaps/mapsDocs


@smartmaps/maps / LocateControl

Class: LocateControl

Nur auf Englisch verfügbar

Diese Seite gehört zur technischen API-Referenz. Sie wird automatisch aus dem Quellcode erzeugt und liegt daher ausschließlich auf Englisch vor. Die einführenden Seiten und Leitfäden sind auf Deutsch verfügbar.

Extends

  • Control

Constructors

new LocateControl()

new LocateControl(options): LocateControl

Parameters

options: Partial\<LocateControlOptions> = {}

Returns

LocateControl

Overrides

Control.constructor

Properties

container

protected container: HTMLElement


map

protected map: Map


options

options: LocateControlOptions

Overrides

Control.options

Methods

onAdd()

onAdd(map): HTMLElement

Parameters

map: Map

Returns

HTMLElement

Overrides

Control.onAdd