Changes between Initial Version and Version 1 of Ticket #10394


Ignore:
Timestamp:
2014-08-21T01:25:06+02:00 (10 years ago)
Author:
Don-vip
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10394 – Description

    initial v1  
    1 I am trying to set an icon on the beginning and end of ways with a certain condition, i.e. speed limit set, I checked the wikipage for the implementation, and I can use >[index] to select the instance from the relation, and derived that the same could/should be possible for selecting a node on a way. The following snippet doesn't work:
     1I am trying to set an icon on the beginning and end of ways with a certain condition, i.e. speed limit set, I checked the wikipage for the implementation, and I can use {{{>[index]}}} to select the instance from the relation, and derived that the same could/should be possible for selecting a node on a way. The following snippet doesn't work:
    22
     3{{{
     4#!mapcss
    35way[highway][maxspeed] >[index=1] node {
    46icon-image: "my_maxspeed.png";
    57}
     8}}}
    69
    710Though I can set a icon on every node, which will look messy:
     11{{{
     12#!mapcss
    813way[highway][maxspeed] > node {
    914icon-image: "my_maxspeed.png";
    1015}
     16}}}
    1117
    12 [index=-1] should be the last entry as well (think that have been mentioned in another ticket)
     18{{{[index=-1]}}} should be the last entry as well (think that have been mentioned in another ticket)