Skip to content

Conversation

zbycz
Copy link
Owner

@zbycz zbycz commented Aug 7, 2024

update 5/2025:

Main issue with the new style is that they are using icon-opacity to hide ceratain icons by zoom level. It has two issues:

  • we can't add icon-opacity for hover effect
  • the icon is "there" even when hidden, so it can be clicked anyway

I tried to replace such layer with multiple layers with different minzoom, but it is a chore to do it right. Postponing.

TODO:

  • find which layers encode OSM id as node number (outdoor_poi) and which as id+0/1/4
  • find out how to addHoverPaint when they use it for zoom visibility

Possibly fixes #98

old outdoor v2
Screenshot 2025-05-11 at 13 18 01 Screenshot 2025-05-11 at 13 17 55

Copy link

vercel bot commented Aug 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
osmapp ✅ Ready (Inspect) Visit Preview Jul 22, 2025 11:12am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show ferries at lower zoom levels
1 participant