Class: GeolocationBar

ol.control. GeolocationBar


new GeolocationBar( [options])

Control bar for OL3 The control bar is a container for other controls. It can be used to create toolbars. Control bars can be nested and combined with ol.control.Toggle to handle activate/deactivate.

Parameters:
Name Type Argument Description
options Object <optional>

Control options.

Properties
Name Type Description
className String

class of the control

centerLabel String

label for center button, default center

Extends

Methods


getInteraction()

Get the ol.interaction.GeolocationDraw associatedwith the bar