程序包 ai.nextbillion.kits.directions.models
package ai.nextbillion.kits.directions.models
Contains models mapping to Nbmap Directions API.
-
类说明An objects describing the administrative boundaries the route leg travels through.This builder can be used to set the values describing the
Admin.A part of theBannerTextwhich includes a snippet of the full banner text instruction.Banner component types.Banner component types.This builder can be used to set the values describing theBannerComponents.Visual instruction information related to a particularLegStepuseful for making UI elements inside your application such as banners.This builder can be used to set the values describing theBannerInstructions.Includes both plain text information that can be visualized inside your navigation application along with the text string broken down intoBannerComponentswhich may or may not include a image url.This builder can be used to set the values describing theBannerText.Includes both plain text information that can be visualized inside your navigation application along with the text string broken down intoBannerComponentswhich may or may not include a image url.This builder can be used to set the values describing theBannerView.An object indicating the geometry indexes defining a road closure.This builder can be used to set the values describing theClosure.Quantitative descriptor of congestion.This builder can be used to set the values describing theCongestion.If an InvalidInput error is thrown, this class can be used to get both the code and the message which holds an explanation of the invalid input.This builder can be used to set the values describing theDirectionsError.Provides a base class for Directions model classes.This is the root Nbmap Directions API response.This builder can be used to set the values describing theDirectionsResponse.Detailed information about an individual route such as the duration, distance and geometry.This builder can be used to set the values describing theDirectionsRoute.An input coordinate snapped to the roads network.This builder can be used to set the values describing theDirectionsWaypoint.Reproduces one of road incidents type (Incident.IncidentType) that might be on the way.This builder can be used to set the values describing theIncident.Impact type.Incident type.Object representing lanes in an intersection.This builder can be used to set the values describing theIntersectionLanes.An annotations object that contains additional details about each line segment along the route geometry.This builder can be used to set the values describing theLegAnnotation.Includes oneStepManeuverobject and travel to the followingLegStep.This builder can be used to set the values describing theLegStep.Speed limit sign.Constants for theStepManeuver.modifier().Representation of ManeuverModifier in form of logical types.Object representing max speeds along a route.This builder can be used to set the values describing theMaxSpeed.An object containing information about passing rest stops along the route.This builder can be used to set the values describing theRestStop.A route between only twoDirectionsWaypoint.This builder can be used to set the values describing theRouteLeg.Provides information connected to your request that help when a new directions request is needing using the identical parameters as the original request.This builder can be used to set the values describing theRouteOptions.The file exposes speed limit annotations.Speed limit unit.Object representing an intersection along the step.This builder can be used to set the values describing theStepIntersection.Gives maneuver information about oneLegStep.This builder can be used to set the values describing theStepManeuver.Maneuver types.An object containing information about a toll collection point along the route.This builder can be used to set the values describing theTollCollection.This class provides information thats useful for properly making navigation announcements at the correct time.This builder can be used to set the values describing theVoiceInstructions.