Skip to content
#

directions

Here are 85 public repositories matching this topic...

PureW
PureW commented Mar 12, 2021

It would be useful if a missing property in the config file fell back gracefully to the default value, rather than killing the process with a hard error.

Is there any appetite for such a change? We could potentially specify default values in a json file that the C++ code reads at compile time and the python script valhalla_build_config parses at runtime?

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