Improved fullscreen mode

Submitted by plepe on

OpenStreetBrowser now utilizes the Fullscreen API, allowing it to take advantage of the entire screen when activated. If you prefer not to use this feature, you can switch to "window mode" in the Options. Additionally, in fullscreen mode, the controls will automatically hide after a few seconds of inactivity, enabling you to enjoy an uninterrupted view of the map - perfect for capturing screenshots!

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 at 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.