Opened 6 years ago
Last modified 6 years ago
#18213 closed defect
Is "repeat-image-opacity" working — at Initial Version
| Reported by: | Allroads | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 20.06 |
| Component: | Core mappaint | Version: | tested |
| Keywords: | image opacity mapcss | Cc: |
Description
Hello,
I was trying.
"repeat-image-opacity"
It does not seams to work, is this correct?
Reading, searching about it, I think it is a bug.
/* SIDEWALK on footway EXTENDED highway EXTENDED*/
way|z18-["footway"="sidewalk"]::footway_sidewalk_layer {
repeat-image: sidewalk-footway.svg;
repeat-image-phase: -50;
repeat-image-align: center;
repeat-image-offset: 0;
repeat-image-height: 800;
repeat-image-spacing: 600;
repeat_image_opacity: 0.5;
}
Mentioned here:
10238
Mentioned here Line Element
Fields inherited from interface org.openstreetmap.josm.gui.mappaint.StyleKeys
Mentioned as constant Field values
Example:
I must tweak this image on every zoomlevel,it is too big and it must be a hint on the footway. Also on the highway road. For the whole set of images. Therefor I need prop "repeat-image-opacity"
Opacity tweaking inside mapcss is easier, then make new images every time.


