Comments (1)
Hey kf9916! The idea is good, but is would have a side effect.
The lib currenctly resolves the request promise returnig the body. As promises resolve function accepts only one value, we would have to wrap the body and the header in an object, what would be a breaking change. At this moment we think it does not worth it. But if more people ask for this than we could change our minds. We have to balance between adding new features and avoid adding breking changes.
from openrouteservice-js.
Related Issues (20)
- not found HOT 1
- how can connect to my custom instance of ORS? HOT 1
- Adding alternative routes for Directions HOT 1
- Support to Optimization Api HOT 2
- Adding support for optimization? HOT 1
- Bug: Impossible to set avoidables for directions
- bug: Cannot get geocoding for some adresses HOT 2
- feature request: Add optimization endpoint HOT 1
- URL for Matrix Service is wrong HOT 1
- vulnerability issue: http-server dependency
- Extract base class for services
- Fixup README.md
- TypeScript support HOT 3
- use native promises instead of bluebird
- use fetch API instead of superagent HOT 2
- Allow to use self-hosted ORS HOT 2
- how to use this with leaflet routing machine HOT 1
- [Bug] Missing twitter tweet link from website HOT 1
- Alternative Routes
- issue: HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openrouteservice-js.