Boundaries and Driving Side (v5.4)

Submitted by plepe on

There are some new functions for category developers:

  • A Twig function 'boundaries(lat, lon)' which returns a list of boundaries the coordinate lies within (Countries)
  • A property of the map object called boundaries which holds the list of boundaries of the map center
  • A property of the map object called driving_side which is either "left" or "right" with regards to the map center

Pin custom categories

Submitted by plepe on

There's a new feature for custom categories and categories of other repositories: You can "pin" or "bookmark" them, so that they get loaded for every visit of OpenStreetBrowser. It is saved in your session, which is long-lived. If you want to backup (or duplicate) your list of pinned categories, you can use the new "YAML" feature of Options.

New category: Kerbs

Submitted by plepe on

This new category shows kerbs (the edge where a road meets a sidewalk). Read more about this in the OpenStreetMap Wiki. The category uses the colours from the Wiki page. Popups will show additional information: type of kerb (lowered, raised, ...), they wheelchair accessibility (if set), if the kerb has tactile paving and the height.