Zoom To Area Plugin

Dictionary entries:

  • toolbar_zoom_to_area

Requires

Methods

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

Adds a "Zoom to Area" button to the map view for zooming to a specific area.

Parameters:
NameTypeDescription
pluginObject

The plugin configuration object.

mapviewObject

The mapview object.

Properties
NameTypeDescription
interactionsObject

The interactions object of the mapview.

Properties
NameTypeDescription
highlightfunction

The highlight interaction function.

zoomfunction

The zoom interaction function.

Returns:
Type: 
void