Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add background map option that places streetnames next to rather than on the road. #74

Open
InsertUser opened this issue Jun 24, 2024 · 2 comments

Comments

@InsertUser
Copy link

The current Relatify interface covers the roads in the background map with an overlay showing the route as selected and branching streets that can also be added to the route. This means that the names of the streets are covered up if they are displayed on the road. This can make it difficult to see if you are selecting the correct road in some instances.

Other than the option described in #45 this could be solved by rendering the road names on top of the overlay, which might hide important information or by choosing a background layer that draws the road names next to the roads rather than in them. The latter option is probably the least effort by far.

Potential background layers with pros (➕) and cons (➖):

  • Cycle map (Thunderforest),
    -- ➕displays roads like this for everything below secondary
    -- ➖secondary and higher roads have label in the way
    -- ➖would probably need an API key or special permission
  • Transport map (Thunderforest),
    -- ➕displays road names alongside roads for all ways
    -- ➕shows existing bus routes, so could be used to assist the planned route selection mechanism (to guide a "show nearby routes" query)
    -- ➖would probably need an API key or special permission
  • OSM Americana (ZeLonewolf)
    -- ➖ needs vector tile support (although there is a leaflet plugin for OpenMapTile apparently)
    -- ➖ Relatify domain would need to be whitelisted for use.
    -- ➕ shows labels "alongside" for road below secondary
    -- ➖ by default shows labels within the road for roads above secondary ... but as this is a vector map style this might be fixable with a "light" fork?
@Zaczero
Copy link
Owner

Zaczero commented Jun 24, 2024

We could also make the lines slightly transparent:

image

image

I tested this also on the orange lines, but the names were unreadable due to the animating line.

@mutipg
Copy link

mutipg commented Jun 24, 2024

Good idea with the transparent gray lines. This will be very helpful in route edits!

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

No branches or pull requests

3 participants