Ignore:
Timestamp:
2018-02-04T14:06:52+01:00 (3 weeks ago)
Author:
Klumbumbus
Message:

add place=square, behavior like a normal icon not special rules like the other place tags (icon self created, CC0 and PD licensed)

File:
1 edited

Legend:

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

    r13379 r13382  
    46524652    icon-image: "presets/place/locality.svg";
    46534653    font-weight: bold;
    4654     text-color:black;
     4654    text-color: black;
    46554655    text-halo-color: white;
    46564656    text-halo-radius: 1;
     
    46614661node[place=islet] {
    46624662    icon-image: "presets/place/islet.svg";
     4663}
     4664
     4665area[place=square] {
     4666    fill-color: place#8de3cb;
     4667}
     4668node[place=square] {
     4669    icon-image: "presets/place/square.svg";
     4670    set icon_z17;
    46634671}
    46644672
     
    46924700/*
    46934701Summary of different zoom levels:
    4694   (any zoom)    place=* (except locality) and a few natural icons with their text is shown
     4702  (any zoom)    place=* (except locality and square) and a few natural icons with their text is shown
    46954703  |z-14         tagged way nodes are hidden completely
    46964704  |z-15         untagged way nodes are hidden completely
     
    47014709  |z18-         text for normal POI icons is shown
    47024710 
    4703  * text size and node size is adapted according to zoom level (see style source below), place labels (except locality) don't get smaller
     4711 * text size and node size is adapted according to zoom level (see style source below), place labels (except locality and square) don't get smaller
    47044712 * all these zoom features are modifiable via style settings
    47054713 * maxspeed icons should not be distinguishable from POIs with "icon-image" property
Note: See TracChangeset for help on using the changeset viewer.