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

# Functions

NewMapMaptching Create a new Map Matching API wrapper.

# Constants

AnnotationDistance returns a additional distance metadata.
AnnotationDuration returns a additional duration metadata.
AnnotationSpeed returns a additional speed metadata.
CodeInvalidInput invalid input data to the server.
CodeOK success response.
CodeProfileNotFound invalid routing profile.
GeometryGeojson returns a geojson like geometry.
GeometryPolyline returns a polyline 5 encoded string like geometry.
GeometryPolyline6 returns a polyline 6 encode string like geometry.
NoMatchFound No matching route found.
OverviewFalse returns no overview geometry.
OverviewFull returns a detailed overview geometry.
OverviewSimplified returns a simplified overview geometry.
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.
TooManyCoordinates limited to 100 coordinates per request.

# Structs

No description provided by the author
MapMatching api wrapper instance.
MatchingLeg legs inside the matching object.
MatchingResponse is the response from GetMatching https://www.mapbox.com/api-documentation/#match-response-object.
Matchings it a route object with additional confidence field https://www.mapbox.com/api-documentation/#match-object.
RequestOpts request options for map matching api.
TracePoint represents the location an input point was matched with.

# Type aliases

AnnotationType type of metadata to be returned additionally along the route.
Codes are direction response Codes https://www.mapbox.com/api-documentation/#matching-errors.
No description provided by the author
GeometryType Format of the returned geometry.
OverviewType Type of returned overview geometry.
No description provided by the author
RoutingProfile defines routing mode for map matching.