Changeset 9013 in josm for trunk/styles


Ignore:
Timestamp:
2015-11-15T21:06:35+01:00 (9 years ago)
Author:
Klumbumbus
Message:

fix #12098 - hide place=locality at low zoom

File:
1 edited

Legend:

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

    r9011 r9013  
    46164616    z-index: 2.1;
    46174617}
    4618 node[place=locality] {
     4618node|z15-[place=locality],
     4619node|z-14[place=locality][!setting("hide_icons")] {
    46194620    icon-image: "place/locality.png";
     4621    text: auto;
     4622    font-size: 10;
     4623    font-weight: bold;
     4624    text-color:black;
     4625    text-halo-color: white;
     4626    text-halo-radius: 1;
     4627}
     4628node[place=island] {
     4629    icon-image: "place/island.png";
    46204630    set icon_z0;
    46214631    text: auto;
     
    46274637    text-halo-radius: 1;
    46284638}
    4629 node[place=island] {
    4630     icon-image: "place/island.png";
     4639node[place=islet] {
     4640    icon-image: "place/islet.png";
    46314641    set icon_z0;
    46324642    text: auto;
     
    46384648    text-halo-radius: 1;
    46394649}
    4640 node[place=islet] {
    4641     icon-image: "place/islet.png";
    4642     set icon_z0;
    4643     text: auto;
    4644     set text_z0;
    4645     font-size: 10;
    4646     font-weight: bold;
    4647     text-color:black;
    4648     text-halo-color: white;
    4649     text-halo-radius: 1;
    4650 }
    46514650
    46524651/***************************/
     
    46814680/*
    46824681Summary of different zoom levels:
    4683   (any zoom)    place=* and a few natural icons with their text is shown
     4682  (any zoom)    place=* (except locality) and a few natural icons with their text is shown
    46844683  |z-15         untagged way nodes are hidden completely
    4685   |z16-         fixme=* and note=* symbols
     4684  |z15          place=locality icon
     4685  |z16-         fixme=* and note=* symbols; place=locality text
    46864686  |z17-         normal POI icons (without text),
    46874687                street name along highway=* ways
     
    47394739node|z-17[setting("hide_icons")]!.text_z0 {
    47404740    text: none;
     4741}
     4742node|z16-17[setting("hide_icons")][place=locality] {
     4743    text: auto;
    47414744}
    47424745
Note: See TracChangeset for help on using the changeset viewer.