Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion about OSM data styling #22

Open
dkocich opened this issue May 27, 2017 · 0 comments
Open

Discussion about OSM data styling #22

dkocich opened this issue May 27, 2017 · 0 comments
Labels
Milestone

Comments

@dkocich
Copy link
Owner

dkocich commented May 27, 2017

  • Basic Leaflet styling - should be enough from the beginning

Points as stop/platform (like in JOSM) http://leafletjs.com/examples/custom-icons/
Lines as "subway map" with relative offset - https://github.com/bbecquet/Leaflet.PolylineOffset (good example http://bbecquet.github.io/Leaflet.PolylineOffset/examples/example_bus.html).

  • For this kind of styling, it would make sense to add stop areas to each group of stops/platforms so it would be possible to snap all passing routes to only one central point of in a stop area.
  • L Polyline decorator can be used to create arrow markers which will show the direction of a route https://github.com/bbecquet/Leaflet.PolylineDecorator
@dkocich dkocich added this to the Later milestone Jul 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant