com.google.android.libraries.mapsplatform.transportation.consumer.model
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-31 UTC."],[[["This documentation provides references for annotations and classes used in the Android SDK for on-demand journey sharing."],["The annotations and classes cover various aspects of trip management such as markers, polylines, traffic data, trip status, vehicle information, and waypoints."],["Some classes, like `Trip` and its associated enums, are deprecated and will be removed in future releases, with replacements like `TripInfo` already available."],["Developers can leverage these elements to build custom map experiences and integrate with the journey sharing platform."],["The documentation includes details about `ConsumerMapFragment` which manages many of the displayed map elements."]]],["This content outlines elements for managing mobility and trip data within a mapping application. Key components include: defining marker and polyline types managed by `ConsumerMapFragment`; specifying trip details like status and type (with `Trip` being deprecated in favor of `TripInfo`); and describing traffic data via `TrafficData`. It also details location representations with classes such as `Location` and `TerminalLocation`, and how routes and vehicles are managed. Builders are provided to construct `ProjectedRouteEta`, `Route`, `TerminalLocation`, `TrafficData`, `TrafficStyle`, `TripModelOptions`, and `TripUpdateError`.\n"]]