The HERE SDK provides a full-fledged route engine to calculate the best route directions from A to B, including multiple waypoints and localizable maneuver instructions for each turn. You can also specify your preferences by setting the desired route type (fastest or shortest) and various route options (such as speed profiles, route restrictions, vignette options, and more).
The HERE SDK supports the following route types:
Each route type is determined by one of the available route options:
EVTruckOptions. These options can be set to the available overloads of the route engine's
A usage example is available on GitHub as part of the routing example app. More code snippets and examples will follow soon.
In addition to the
RoutingEngine, there is also an equivalent for offline use cases available: The
OfflineRoutingEngine. It can be constructed in the same way as its online counterpart.
A usage example is available on GitHub as part of the routing_hybrid_app example app. More code snippets and examples will follow soon.
Electric vehicle (EV) usage and sales continue growing around the world. How can HERE help to provide the best routes for electric vehicles?
HERE EV Routing delivers optimized routes for EVs to get from A to B, minimizing the number of charging stops and optimizing battery charge times (based on the vehicle’s consumption model). It also takes into account a number of factors when planning trips, including topography, road geometry, real-time traffic information and traffic patterns.
Instead of searching for charging stations along the route, HERE analyzes the charging time at every possible station and chooses the most appropriate combination that will deliver the shortest driving and charging times.
Getting EV routes is simple. Similar to getting car or truck routes, for EV routing you just need to add electric vehicle specific route options. This way you can get routes for electric vehicles in the same way as for other transport modes. Just specify
EVRouteOptions and add them to the
A usage example is available on GitHub as part of the ev_routing_app example app. More code snippets and examples will follow soon.