Skip to content

6.0.0

Choose a tag to compare

@markuman markuman released this 17 Apr 12:32
· 19 commits to latest since this release
bf87d57

#New Features

🗺️ OSUV (open streetmap universal view) Style

Introduced a specialized map style designed for outdoor activities (hiking and cycling):

  • Dual-View System:
    • Zoom 0–6 (Political): A simplified political overview with pale land colors, thick country borders, and prominent bold labels.
    • Zoom 7+ (Outdoor): A detailed hiking/cycling view featuring specialized coloring for forests, meadows, and park areas.
  • Enhanced Navigation:
    • High-visibility path rendering for hiking trails (dashed red) and cycleways (dashed blue).
    • Distinctive violet-dashed country boundaries to clearly differentiate them from contour lines.
    • Increased font size and bold weights for POIs, street names, and river labels.
  • Localization: Integrated client-side language detection using navigator.language to automatically display map labels in the browser's preferred language.

📏 Distance Measurement Tool

Added an interactive tool for measuring distances directly on the map:

  • Interactive Point-Setting: Click to place points and trace a path.
  • Real-time Calculation: Total distance is calculated and displayed in the navbar as the path is drawn.
  • Result Summary: Final distance is displayed in a popup marker upon completion.

🔍 Enhanced Photon Search

Upgraded the geocoding search functionality:

  • Viewport Filtering: Added a "View" toggle to restrict search results strictly to the current map window using bounding box (bbox) filtering.
  • Multi-Result Visualization: Pressing Shift+Enter now places all top results (up to 10) as blue markers on the map, automatically zooming to fit them all in view.
  • Detailed Info: Search markers now feature detailed popups including name, OSM type, street, house number, city, and country.

Technical Improvements

  • Tile Fallback: Implemented a zoom level 13 fallback for tile requests to ensure continuous coverage.
  • Contour Integration: Improved support for optional contour line MBTiles with specialized rendering for 10m and 50m intervals.
  • Registry Update: Updated server-side style registration and vendor asset management.