<GoogleDirections />

Constructor

# <GoogleDirections map apiKey translations />

A button for drawing two pin points for Google Directions.
PropTypes:
Name Type Required Description Default
map object Yes reference to Openlayers map object
apiKey string Yes
translations object No translations object
Since:
  • 1.8.0

View Source GoogleDirections/GoogleDirections.js, line 68