Ignore:
Timestamp:
2013-11-02T00:25:21+01:00 (11 years ago)
Author:
Don-vip
Message:

update P2 map paint style: support of amenity=library, amenity=nightclub, emergency=fire_hydrant, shop=department_store

Location:
trunk/styles_nodist/potlatch2/patched
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles_nodist/potlatch2/patched/core_pois.css

    r5218 r6351  
    3232node[barrier=cattle_grid] { icon-image: icons/barrier_cattle_grid.16.png; z-index: 20; }
    3333node[amenity=school] { icon-image: icons/education_school.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    34 aera[amenity=school]:closed { color: yellow; fill-color: yellow; fill-opacity: 0.1; prop_area_small_name : 1; }
     34area[amenity=school]:closed { color: yellow; fill-color: yellow; fill-opacity: 0.1; prop_area_small_name : 1; }
    3535node[amenity=bar] { icon-image: icons/food_bar.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    3636node[amenity=cafe] { icon-image: icons/food_cafe.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    3737node[amenity=fast_food] { icon-image: icons/food_fastfood.n.16.png; z-index: 20; }
     38node[amenity=nightclub] { icon-image: icons/food_nightclub.n.16.png; text-offset: 0; text: auto; font-size: 10; z-index: 20; }
    3839node[amenity=pub] { icon-image: icons/food_pub.n.16.png; text-offset: 0; text: auto; font-size: 10; z-index: 20; }
    3940node[amenity=restaurant] { icon-image: icons/food_restaurant.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     
    4950node[amenity=hunting_stand] { icon-image: icons/sport_shooting.n.16.png; z-index: 20; }
    5051node[amenity=kindergarten] { icon-image: icons/education_nursery3.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     52node[amenity=library] { icon-image: icons/amenity_library.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    5153node[amenity=place_of_worship]  { icon-image: icons/place_of_worship_unknown.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    5254node[amenity=post_office] { icon-image: icons/amenity_post_office.n.16.png; z-index: 20; }
     
    5860node[amenity=veterinary] { icon-image: icons/health_veterinary.n.8E7409.16.png; z-index: 20; }
    5961node[amenity=waste_basket] { icon-image: icons/amenity_waste_bin.n.16.png; z-index: 20; }
     62node[amenity=fire_hydrant] { icon-image: icons/emergency_hydrant.n.16.png; z-index: 20; }
     63node[emergency=fire_hydrant] { icon-image: icons/emergency_hydrant.n.16.png; z-index: 20; }
    6064/* Shops */
    6165node[shop=alcohol] { icon-image: icons/shopping_alcohol.n.16.png; z-index: 20; }
     
    6973node[shop=confectionery] { icon-image: icons/shopping_confectionery.n.16.png; z-index: 20; }
    7074node[shop=convenience] { icon-image: icons/shopping_convenience.n.16.png; z-index: 20; }
     75node[shop=department_store] { icon-image: icons/shopping_department_store.n.16.png; z-index: 20; }
    7176node[shop=doityourself] { icon-image: icons/shopping_diy.n.16.png; z-index: 20; }
    7277node[shop=fishmonger] { icon-image: icons/shopping_fish.n.16.png; z-index: 20; }
     
    130135node[power=station] { icon-image: icons/power_substation.n.16.png; z-index: 20; }
    131136node[power=generator] { icon-image: icons/power_station.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     137/* P2 previously had these icons instead of "icon-image: cross" which is not standard MapCSS but a P2 keyword we won't implement, so keep the old icons */
    132138node[power=tower] { icon-image: icons/power_tower_high2.n.16.png; z-index: 20; }
    133139node[power=pole] { icon-image: icons/power_tower_low.n.16.png; z-index: 20; }
     
    141147node[addr:housename]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; }
    142148
    143 way[addr:interpolation] { z-index: 5; color: #B0E0E6; width: 3; dashes: 3,3;}
     149way[addr:interpolation] { color: #B0E0E6; width: 3; dashes: 3,3;}
  • trunk/styles_nodist/potlatch2/patched/core_ways.css

    r5218 r6351  
    6161way[construction=subway]::dashes  { z-index: 7; color: white; width: 3; dashes: 4,12;}
    6262
    63 way[railway=disused],way[railway=abandoned] { z-index: 6; color: #444400; width: 3; dashes: 17, 2, 5, 0; }
    64 way[railway=disused]::dashes,way[railway=abandoned]::dashes { z-index: 7; color: #999999; width: 2; dashes: 12,12; }
     63way[railway=disused][!highway],way[railway=abandoned][!highway] { z-index: 6; color: #444400; width: 3; dashes: 17, 2, 5, 0; }
     64way[railway=disused][!highway]::dashes,way[railway=abandoned][!highway]::dashes { z-index: 7; color: #999999; width: 2; dashes: 12,12; }
    6565
    6666way[railway=tram]      { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 2; }
     
    7373way[construction=light_rail]::dashes { z-index: 7; color: #999999; width: 2; dashes: 8,12; }
    7474
    75 /* Waterways */ 
     75/* Waterways */ 
    7676
    7777way[waterway=river],
    7878way[waterway=canal],
    7979way[waterway=stream]   { z-index: 5; color: #3434ff; width: 2; text:auto; text-color: #3434ff; font-size:9; text-position: line; text-offset: 7;}
    80 way[waterway=drain]                     {z-index: 5; color: #3434ff; width: 1; text:auto; text-color: #3434ff; text-position: line; text-offset: 3;}
     80way[waterway=drain]             {z-index: 5; color: #3434ff; width: 1; text:auto; text-color: #3434ff; text-position: line; text-offset: 3;}
    8181way[waterway][tunnel=yes]                {z-index: 5; dashes: 8,4;}
    8282
     
    8585way[aeroway=aerodrome]:closed
    8686    { z-index: 3; color: #bb44bb; width: 3; casing-color: #66066;  casing-width: 1;  }
    87 way|z-15[aeroway=aerodrome]:closed
    88     { z-index: 3; fill-color: #bb99bb;  fill-opacity: 0.5;}
    8987way[aeroway=taxiway]!:closed { z-index: 8; color: #999999; width: 3; casing-color: #aa66aa; casing-width: 2; }
    90 area[aeroway=taxiway]:closed { z-index: 8; color: #bb99bb; width: 3; fill-color: #ccaacc; }
     88area[aeroway=taxiway]:closed { z-index: 8; color: #bb99bb; width: 3; fill-color: #ccaacc; } 
    9189
    92 way|z17-[aeroway=runway]!:closed { z-index: 9; color: black; width: 11; casing-color: #aa66aa; casing-width: 1; }
    93 way|z17-[aeroway=runway]!:closed::aa { z-index: 10; color: white; width: 9;  dashes: 0, 20, 4, 76; }
    94 way|z17-[aeroway=runway]!:closed::bb { z-index: 11; color: black; width: 7; }
    95 way|z17-[aeroway=runway]!:closed::cc { z-index: 12; color: white; width: 5;  dashes: 0, 20, 4, 76; }
    96 way|z17-[aeroway=runway]!:closed::dd { z-index: 13; color: black; width: 3; }
    97 way|z17-[aeroway=runway]!:closed::ee { z-index: 14; color: white; width: 1;  dashes: 4, 16; }
     90way[aeroway=runway]!:closed { z-index: 9; color: black; width: 5;  }
     91way[aeroway=runway]!:closed::aa { z-index: 12; color: white; width: 5;  dashes: 0, 20, 4, 76; }
     92way[aeroway=runway]!:closed::bb { z-index: 13; color: black; width: 3; }
     93way[aeroway=runway]!:closed::cc { z-index: 14; color: white; width: 1;  dashes: 4, 16; }
    9894
    99 way|z15-16[aeroway=runway]!:closed { z-index: 9; color: black; width: 5;  }
    100 way|z15-16[aeroway=runway]!:closed::aa { z-index: 12; color: white; width: 5;  dashes: 0, 20, 4, 76; }
    101 way|z15-16[aeroway=runway]!:closed::bb { z-index: 13; color: black; width: 3; }
    102 way|z15-16[aeroway=runway]!:closed::cc { z-index: 14; color: white; width: 1;  dashes: 4, 16; }
    103 
    104 way|z-14[aeroway=runway]!:closed { z-index: 9; color: #444444; width: 3;  }
    105 
    106 area[aeroway=runway]:closed { z-index: 9; color: black; width: 3; fill-color: #775577; }
    107 area[aeroway=apron]:closed { z-index: 4; color: #cc66cc; width: 1; fill-color: #ddaadd; fill-opacity: 0.5;}
     95area[aeroway=runway]:closed { z-index: 9; color: black; width: 3; fill-color: #775577; }
     96area[aeroway=apron]:closed { z-index: 4; color: #cc66cc; width: 1; fill-color: #ddaadd; fill-opacity: 0.5;}
    10897
    10998/* Barriers */
Note: See TracChangeset for help on using the changeset viewer.