Comments (4)
I thought this would be nice, because with this input the order of the via points is clear.
Good point. I tried the dragging away from the current path and generating a new via point. It somehow didn't feel very intuitive to use. I think it would have to feel a little more like in google maps where there is a dot moving along the path when the mouse is moved along it. Implementing this felt like too much work for the 0.1 version and I'd like to check in about how to do it.
How do you determine the order?
Currently, via points are inserted on the last position before the destination point. If there are undefined via points (because the user has selected 'add point' in the search bar but not selected a point yet) the first undefined point is set, when 'via here' from the context menu is selected.
I had a look at the current graphhopper maps implementation of selecting via points and thought I should talk to you guys before I imlement anything more complicated than what is described above. Obviously someone has already thought about the problem and I didn't want to reinvent the wheel.
from graphhopper-maps.
This was solved in 8bbda9f and ec0842e .
Tested dragging the route for new via-Points but found it not very intuitive. One can now add markers by:
- clicking on the map, which fills the currently available waypoints.
- right-clicking and selecting from, to or via from a context menu. This logic adds via points if none are in the current search
- Typing in a search box and selecting a geocoding result
from graphhopper-maps.
Tested dragging the route for new via-Points but found it not very intuitive.
Do you mean it is hard to implement or not useful? I thought this would be nice, because with this input the order of the via points is clear. Otherwise we have to 'guess' where (in which order) the new via point shall be inserted (i.e. before or after other via points). This is what we do currently. How do you determine the order?
from graphhopper-maps.
Implementing this felt like too much work for the 0.1 version and I'd like to check in about how to do it.
👍
btw: I think I saw this here:
https://github.com/Kasheftin/graphhopper-frontend
Or probably here (but there is no open source license associated):
https://github.com/Kasheftin/RoutePlanner
https://github.com/Kasheftin/route-planner-vue
from graphhopper-maps.
Related Issues (20)
- App crashes when changing windows size HOT 4
- Incomplete text after selecting same item from list. HOT 5
- one map tile service is down others stay blank too
- Drawing areas fails if no priority block exists HOT 1
- autocomplete selection broken for touch devices on non-mobile view
- Enhancement: Display arrival time for all options - and maybe arrival time within elevation profile info window
- Changing map HOT 1
- add profile for busses HOT 1
- Could not get geocoding results with geocoder-convertor HOT 1
- wrong route offset
- Change icon for unknown profiles? HOT 19
- map flickering when zooming and route is shown HOT 1
- make all conditional access obstacles visible via route hint
- sac_scale value hiking HOT 1
- Walking navigation doesn't find the shortest path HOT 1
- heightgraph should use different color for different values HOT 2
- Add routing via train? HOT 1
- QOL: Sort autocomplete entries by distance
- Allow rotating vector maps HOT 3
- It's impossible to unselect "special segments"
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 graphhopper-maps.