Comments (4)
Now, the issue is clear to me.
Leaflet's implementation does not support elevation.
Check out the following two implementations taken from Leaflet and Graphhopper accordingly
- https://gist.github.com/jieter/7689228
- https://github.com/graphhopper/graphhopper/blob/469cf3c9634440e52821832c52280ca7e28322f4/web/src/main/java/com/graphhopper/http/WebHelper.java
If you need to support proper decoding of elevation values, you have to write your own decode function in js.
from openrouteservice.
Hi Petrot,
Which library or piece of code have you used to decode a polyline?
from openrouteservice.
Hi @Rungee,
I used this package: https://www.npmjs.com/package/polyline-encoded.
With geoJson output, it works fine.
from openrouteservice.
Mapbox currently also doesn't, I guess they would be happy about a PR ;) https://github.com/mapbox/polyline
Considering this as closed.
from openrouteservice.
Related Issues (20)
- Preparation mode does not exit successfully after mapgen is complete HOT 1
- CVE-2024-22243 org.springframework:spring-web (ors.jar) HOT 1
- CVE-2024-22259 org.springframework:spring-web (ors.jar) HOT 1
- Migration info printed even if using yaml HOT 1
- Application startup fails org.yaml.snakeyaml.error.YAMLException: java.io.IOException: Is a directory HOT 2
- Not ready after ten a week of creating graph HOT 7
- Review configuration
- Improve track grade parsing
- Cannot find routable point HOT 1
- Extra Info - Surface returns paved instead of grass HOT 3
- Consider side of road for departure and destination points HOT 1
- Support bicycle=destination for bike profiles HOT 3
- Matrix endpoint returning null for all locations when one route does not exist HOT 4
- Confusing error message in isochrones api
- fix: Fix some CVEs
- Dead link in docs
- Example mentions non-existent way category "Tunnel"
- Unify snapping behaviour across services HOT 1
- Wrong caculation bus
- Ways tagged as `highway=construction` not considered for bike profiles HOT 1
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.