package
0.5.0
Repository: https://github.com/ghetzel/go-mapbox.git
Documentation: pkg.go.dev

# Functions

NewDirections Create a new Directions API wrapper.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RoutingCycling mode for bicycle routing.
RoutingDriving mode for for automovide routing.
RoutingDrivingTraffic mode for automotive routing takes into account current and historic traffic.
RoutingWalking mode for Pedestrian routing.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Annotation conains additional details about each line segment https://www.mapbox.com/api-documentation/#routeleg-object.
DirectionResponse is the response from GetDirections https://www.mapbox.com/api-documentation/#directions-response-object.
Directions api wrapper instance.
Intersection https://www.mapbox.com/api-documentation/#routestep-object.
Lanehttps://www.mapbox.com/api-documentation/#lane-object.
RequestOpts request options for directions api.
Route A route through (potentially multiple) waypoints.
RouteLeg A route between two Waypoints https://www.mapbox.com/api-documentation/#routeleg-object.
RouteStep Includes one StepManeuver object and travel to the following RouteStep.
StepManeuver https://www.mapbox.com/api-documentation/#stepmaneuver-object.
Waypoint is an input point snapped to the road network https://www.mapbox.com/api-documentation/#waypoint-object.

# Type aliases

No description provided by the author
Codes are direction response Codes https://www.mapbox.com/api-documentation/#directions-errors.
No description provided by the author
No description provided by the author
No description provided by the author
RoutingProfile defines routing mode for direction finding.
StepModifier indicates the direction change of the maneuver https://www.mapbox.com/api-documentation/#stepmaneuver-object.
TransportationMode indicates the mode of transportation https://www.mapbox.com/api-documentation/#routestep-object.