Ignore:
Timestamp:
2014-08-16T14:26:51+02:00 (5 years ago)
Author:
bastiK
Message:

applied #10363 - fix problem at zoom 16 (based on patch by Klumbumbus)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles/standard/elemstyles.mapcss

    r7415 r7421  
    35463546/* maxspeed nodes */
    35473547/******************/
    3548 node[maxspeed=none] {
     3548node[maxspeed=none][!is_prop_set(icon-image)] {
    35493549    icon-image: "vehicle/restriction/maxspeed_none.svg";
    35503550}
    3551 node|z17-[maxspeed=~/^[0-9]+$/] {
     3551node|z17-[maxspeed=~/^[0-9]+$/][!is_prop_set(icon-image)] {
    35523552    maxspeedprop: tag(maxspeed);
    35533553    set maxspeedclass;
    35543554}
    3555 node|z17-[maxspeed=signals] {
     3555node|z17-[maxspeed=signals][!is_prop_set(icon-image)] {
    35563556    maxspeedprop: " ?";
    35573557    set maxspeedclass;
    35583558}
    3559 node|z17-[maxspeed=~/^[0-9]+ mph/] {
     3559node|z17-[maxspeed=~/^[0-9]+ mph/][!is_prop_set(icon-image)] {
    35603560    maxspeedprop: get(split(" mph",tag(maxspeed)),0);
    35613561    set maxspeedclass;
    35623562}
    3563 node|z17-[maxspeed=~/[0-9]+ km\/h/] {
     3563node|z17-[maxspeed=~/[0-9]+ km\/h/][!is_prop_set(icon-image)] {
    35643564    maxspeedprop: get(split(" km/h",tag(maxspeed)),0);
    35653565    set maxspeedclass;
    35663566}
    3567 node|z17-[maxspeed=~/[0-9]+ knots/] {
     3567node|z17-[maxspeed=~/[0-9]+ knots/][!is_prop_set(icon-image)] {
    35683568    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
    35693569    set maxspeedclass;
     
    35763576    major-z-index: 4.2;
    35773577}
    3578 node|z17-[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"][!is_prop_set(icon-image, default)]::core_maxnodebg,
    3579 node|z17-[maxspeed=signals][!is_prop_set(icon-image, default)]::core_maxnodebg {
     3578node|z17-[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodebg,
     3579node|z17-[maxspeed=signals]::core_maxnodebg {
    35803580    /* background (black) */
    35813581    symbol-fill-color: black;
    35823582}
    3583 node|z17-[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodefg {
     3583node|z17-[prop(maxspeedclass, default)]::core_maxnodefg {
    35843584    /* foreground (black text and red circle) */
    35853585    symbol-shape: circle;
     
    35973597    major-z-index: 4.2;
    35983598}
    3599 node|z17-[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"][!is_prop_set(icon-image, default)]::core_maxnodefg,
    3600 node|z17-[maxspeed=signals][!is_prop_set(icon-image, default)]::core_maxnodefg {
     3599node|z17-[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"]::core_maxnodefg,
     3600node|z17-[maxspeed=signals]::core_maxnodefg {
    36013601    /* foreground (white text) */
    36023602    text-color: white;
     
    36103610    text: auto;
    36113611}
    3612 node|z16-[!is_prop_set("icon-image")]!.maxspeedclass {
     3612node|z16, node|z17-[!is_prop_set("icon-image")]!.maxspeedclass {
    36133613    symbol-size:1;
    36143614    symbol-shape: square;
Note: See TracChangeset for help on using the changeset viewer.