jeffreykemp / jk64-plugin-reportmap

Report Google Map APEX Plugin
https://jeffreykemp.github.io/jk64-plugin-reportmap/
MIT License
43 stars 16 forks source link

Route Api #174

Open orblgc opened 3 weeks ago

orblgc commented 3 weeks ago

Feature 1 Directions API working well but in order to use full capability of google maps it would be really great if we able to use Routes API. This enhanced api also returning values like toll cost, eco-friendly routes & fuel estimation etc.

Documentation Link Here is the demo link from google -> Documentation & demo link -> https://developers.google.com/maps/documentation/routes/demo

Additional context Here is an example map provided by google's demo page ->

image

Feature 2 Maybe after this feature Route Optimization API can be implemented too. So users of this api can handle their multiple routes for multiple vehicles at once. Basically it is a fleet management thing which would be really nice in a business app in Apex environment.

Documentation Link Here is the demo link from google -> Documentation & demo link -> https://developers.google.com/maps/documentation/route-optimization/overview

Additional context Google's example you can see some UI elements. Shipments is for origin-waypoints-destination but multiple. And we have multiple vehicles with start & end locations. Then google optimizing these informations by assigning shipments to vehicles and create routes for each vehicle with toll costs, fuel estimations etc. It is looks a bit complicated i'm still investigating this one about how to make it work.-> App link: https://github.com/googlemaps/js-route-optimization-app image