Locator Plugin

Methods

(inner) locator(plugin, mapview) → {void}

Adds a locator button to the map view for triggering geolocation.

Parameters:
NameTypeDescription
pluginObject

The plugin configuration object.

mapviewObject

The mapview object.

Properties
NameTypeDescription
locatefunction

The locate function of the mapview.

Returns:
Type: 
void