Modify

Opened 9 months ago

Last modified 12 days ago

#24331 new enhancement

render styles (optionally) for inactive layers

Reported by: dieterdreist Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: layer, visibility, active Cc:

Description (last modified by dieterdreist)

Currently, only one data layer is rendered "visibly", the others are very faint and almost invisible, especially with a lot of data in the active layer which covers it.

It would be great to be able to have inactive data layers "visible" (maybe even above the current layer, i.e. respecting layer order in the layer menu), but with the features not selectable (it could be another setting whether you want the layer to be taken into account for snapping or not).

The usecase is when you are using data overlays in OSM format with select information, e.g. hiking paths or area boundaries, etc.

Attachments (2)

active.png (254.5 KB ) - added by felagund 12 days ago.
Map style applies to active layer
inactive.png (259.2 KB ) - added by felagund 12 days ago.
Bad visibility when the layer is inactive

Download all attachments as: .zip

Change History (4)

comment:1 by dieterdreist, 9 months ago

Description: modified (diff)

by felagund, 12 days ago

Attachment: active.png added

Map style applies to active layer

by felagund, 12 days ago

Attachment: inactive.png added

Bad visibility when the layer is inactive

comment:2 by felagund, 12 days ago

Seems sort of like a duplicate of https://josm.openstreetmap.de/ticket/17497 - that would allow you to style inactive layers.

I would also love that.

I made a style to make text more readable. I want to use it on a GPX layer converted to a data layer:

node {
  text: name;
  font-family: "Arial";
  font-size: 12;
  font-weight: bold;
  text-color: #ffffff;
  text-halo-color: #000000;
  text-halo-radius: 2;
}

When this data layer is active, it is all displayed nicely:
Map style applies to active layer

But when I desactivate it (after all I use it just for display of notes, I do my edits on the downloaded Data layer and merging is discouraged for good reasons), it is very illegible:

Bad visibility when the layer is inactive

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to dieterdreist.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.