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 )
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)
Change History (2)
by , 10 years ago
Attachment: | area text.png added |
---|
comment:1 by , 10 years ago
Description: | modified (diff) |
---|