Changeset 9343 in josm


Ignore:
Timestamp:
2016-01-08T00:33:39+01:00 (8 years ago)
Author:
Don-vip
Message:

update Potlatch 2 style. Adds support for natural=tree and natural=peak.
See https://git.openstreetmap.org/potlatch2.git/commit/0a21b8bca71f6105c244cb52d7b7dcb5a840bd3a

Location:
trunk
Files:
2 added
4 edited

Legend:

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

    r7671 r9343  
    314314node[power=pole] { icon-image: icons/power_tower_low.n.16.png; z-index: 20; }
    315315node[waterway=weir] { icon-image: icons/transport_weir.n.16.png; z-index: 20; }
     316/* Natural */
     317node[natural=peak] { icon-image: icons/natural_peak.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     318node[natural=tree] { icon-image: icons/natural_tree.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    316319
    317320/* Addressing */
  • trunk/styles_nodist/potlatch2/README

    r6351 r9343  
    1717When updating from upstream, keep all 4 locations in sync.
    1818
    19 At time of writing, the last update used 570240ab6a42a3efa007a7dd6110fe96d079b277 (2013-02-10) but better check the commit dates as well.
     19At time of writing, the last update used 0a21b8bca71f6105c244cb52d7b7dcb5a840bd3a (2014-10-07) but better check the commit dates as well.
  • trunk/styles_nodist/potlatch2/patched/core_pois.css

    r9342 r9343  
    139139node[power=pole] { icon-image: icons/power_tower_low.n.16.png; z-index: 20; }
    140140node[waterway=weir] { icon-image: icons/transport_weir.n.16.png; z-index: 20; }
     141/* Natural */
     142node[natural=peak] { icon-image: icons/natural_peak.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     143node[natural=tree] { icon-image: icons/natural_tree.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    141144
    142145/* Addressing */
  • trunk/styles_nodist/potlatch2/source/core_pois.css

    r6351 r9343  
    131131node[power=pole] { icon-image: cross; icon-width: 7; width: 3; color: #444; z-index: 20; }
    132132node[waterway=weir] { icon-image: icons/transport_weir.n.16.png; z-index: 20; }
     133/* Natural */
     134node[natural=peak] { icon-image: icons/natural_peak.n.16.png; z-index: 20; text-offset:15; text: name; font-size: 10; z-index: 20; }
     135node[natural=tree] { icon-image: icons/natural_tree.n.16.png; z-index: 20; text-offset:15; text: name; font-size: 10; z-index: 20; }
    133136
    134137/* Addressing */
Note: See TracChangeset for help on using the changeset viewer.