close
The Wayback Machine - https://web.archive.org/web/20210817071028/https://github.com/topics/directions
Skip to content
#

directions

Here are 87 public repositories matching this topic...

nilsnolde
nilsnolde commented May 25, 2021

Would be nice to tell a user when certain things happen while processing, e.g. clamping values to their allowed maximum, enabling destination_only roads in 2. pass, deprecating request parameters etc.

IMO it should be a top-level warnings array of strings which is empty by default and all modules can add their share during processing: probably implement the most obvious ones first and add o

vvscode
vvscode commented Mar 31, 2021

At the https://github.com/flexible-agency/react-native-map-link/blob/master/src/index.js#L42

we verify if params are in the options, but do not check the value, so for undefined we have

parseFloat(undefined); // NaN

for sure it can be fixed in the client code, but seems like nice to handle it inside the lib

![image](https://user-images.githubusercontent.com/6904368/11311

captainbarbosa
captainbarbosa commented Mar 14, 2018

If a developer attempts to calculate directions with more than three waypoints, the following error is returned:

Error Domain=MBDirectionsErrorDomain Code=-1 "Too many coordinates;
maximum number of coordinates is 3." 
UserInfo={NSLocalizedFailureReason=Too many coordinates;
maximum number of coordinates is 3.}

It appears the [Mapbox Directions API](https://www.mapbox.com/api-d

User can set up destination for any agent to navigate on Google Map and learn the best route for the agent based on its current condition and the traffic. Our result is 10% less energy consumption than the route provided by Google map

  • Updated Apr 12, 2020
  • Python

Improve this page

Add a description, image, and links to the directions topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the directions topic, visit your repo's landing page and select "manage topics."

Learn more