Constructor
new GeoLocationButton()
Creates the MeasureButton.
Extends
- React.Component
Members
defaultProps :Object
The default properties.
Type:
- Object
propTypes :Object
The properties.
Type:
- Object
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.
render()
The render function.