Modify

Opened 10 years ago

Last modified 10 years ago

#10369 new enhancement

mapcss display area text on top of its outline

Reported by: Klumbumbus Owned by: team
Priority: normal Milestone:
Component: Core mappaint Version:
Keywords: Cc:

Description (last modified by Klumbumbus)

Currently the text of an area is displayed below the outline. This is no problem for the default style since the numbers disappear before they conflict with the outline. However for external styles with bigger text this can be problematic. See for example Coloured Streets:


This is actually housenumber "31a" but it is hard to see, since the outline is on top of its area-text.
I want to change this in Coloured Streets. I already tried to resolve this with different layers for the outline and for the text. However I'm not really happy with my solution, since it complicates the code excessive. So I would be happy if either

  • area-text is always on top of area outline (I'm not sure if there are side effects I didn't consider)
  • you can switch within mapcss if area-text is below or on top of the outline
  • you can set z-index for the area-text within mapcss (According to Help/Styles/MapCSSImplementation#Generalproperties there is no major-z-index for area-text.)

What do you think?

Attachments (1)

area text.png (2.0 KB ) - added by Klumbumbus 10 years ago.

Download all attachments as: .zip

Change History (2)

by Klumbumbus, 10 years ago

Attachment: area text.png added

comment:1 by Klumbumbus, 10 years ago

Description: modified (diff)

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