Class: GeoLocationButton

GeoLocationButton()

The GeoLocationButton

Constructor

new GeoLocationButton()

Creates the MeasureButton.

Source:

Extends

  • React.Component

Members

defaultProps :Object

The default properties.

Type:
  • Object
Source:

propTypes :Object

The properties.

Type:
  • Object
Source:

Methods

onToggle()

Called when the button is toggled, this method ensures that everything is cleaned up when unpressed, and that geolocating can start when pressed.

Source:

render()

The render function.

Source: