Opened 9 years ago

Last modified 8 years ago

#14970 closed defect

repeat-image-phase: visualisation, group of icons and repeating. — at Version 1

Reported by: Allroads Owned by: team
Priority: normal Milestone:
Component: Core mappaint Version: latest
Keywords: image phase Cc:

Description (last modified by Don-vip)

After solving #14926 and working in latest.
Thanks.

The next problem to solve.

A group of icons, when this is repeated, I expected that it is repeated in the same distance to other icons lined out in the mapcss. Now further on the way icons crossing each other, makes it also less good to read.
The attached image shows it.

Mostly I used 480x300 icons SVG, but some icons must be wider, because the vehicle image is wider.
All the same height. In JOSM 15px. It should not be needed to make all the images the same wide and height.

I needed to use dash -215 to make it visible
for node icon-offset-x: 225; same direction.

way|z17-[highway][psv=yes]::psv_waylayer {
    repeat-image: psv-NL-green.svg;
        repeat-image-align: bottom;
        repeat-image-height: 15;
        repeat-image-offset: 49;
        repeat-image-phase: -215;
        repeat-image-spacing: 400;
        z-index: 100;
}

Visualisation repeat-image-phase

phase mixed up

Change History (3)

by Allroads, 9 years ago

Attachment: repeat phase.PNG added

Visualisation repeat-image-phase

by Allroads, 9 years ago

Attachment: repeat phase2.PNG added

phase mixed up

comment:1 by Don-vip, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.