Directions on cycle routes and public transport map

Submitted by plepe on Thu, 11/15/2018 - 15:15

With the newest update, OpenStreetBrowser supports drawing patterns (e.g. arrow heads) on ways, which is from now on used on the cycle routes map and the public transport map. Cycle routes map gets the directions from the way's role (forward/backward), public transport map from the connection to the previous/next way (as defined in PT Schema v2). 

Technical background

For showing the patterns, OpenStreetBrowser uses the leaflet-polylinedecorator module with two improvements: #88 and #90. Two main modules of OpenStreetBrowser needed updates for this improvement:

  • overpass-frontend which handles database queries to the database server Overpass API and prepares map features: connects relations members, ...)
  • overpass-layer which selects and styles the map features for display on a leaflet map
  • .