Opened 8 years ago

Last modified 8 years ago

#14970 closed defect

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

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

Description

After solving and working in latest.
https://josm.openstreetmap.de/ticket/14926
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 futher 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;
}

Change History (2)

by Allroads, 8 years ago

Attachment: repeat phase.PNG added

Visualisation repeat-image-phase

by Allroads, 8 years ago

Attachment: repeat phase2.PNG added

phase mixed up

Note: See TracTickets for help on using tickets.