diff options
Diffstat (limited to 'data/styles/new_style/include/POI.mapcss')
-rw-r--r-- | data/styles/new_style/include/POI.mapcss | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/data/styles/new_style/include/POI.mapcss b/data/styles/new_style/include/POI.mapcss new file mode 100644 index 0000000000..73ceb203d1 --- /dev/null +++ b/data/styles/new_style/include/POI.mapcss @@ -0,0 +1,85 @@ +/* ZOOM 15 */ + +/* z=15 label rules */ +node|z15-[tourism=gallery], +node|z15-[tourism=museum], +node|z15-[tourism=zoo] { + text-offset: 8; + font-size: 10; + text: name; + text-color: @poi_label; + z-index: 4000; +} + +/* z=15 icons */ +node|z15[tourism=museum] { icon-image: museum-s.svg; } +node|z15[tourism=gallery] { icon-image: gallery-s.svg; } /* <-- <-- не показывается, непонятно почему, позже разобраться */ +node|z15[tourism=zoo] { icon-image: zoo-s.svg; } + +/* ZOOM 16 */ + +/* z=16 labels */ +node|z16[tourism=museum], +node|z16[historic=monument], +node|z16[tourism=gallery], +node|z16[amenity=theatre], +node|z16[tourism=zoo] { + text-offset: 8; + font-size: 10; + text: name; + text-color: @poi_label; + z-index: 4000; +} + +/* z=16 icons */ +node|z16[tourism=museum] { icon-image: museum-m.svg; } +node|z16[historic=monument] { icon-image: monument-m.svg; } +node|z16[tourism=gallery] { icon-image: gallery-m.svg; } +node|z16[amenity=theatre] { icon-image: theatre-m.svg; } +node|z16[tourism=zoo] { icon-image: zoo-m.svg; } + +/* ZOOM 17+ */ + +/* z=17+ labels */ +node|z17-[tourism=museum], +node|z17-[tourism=gallery], +node|z17-[historic=monument], +node|z17-[tourism=zoo], +node|z17-[amenity=cinema], +node|z17-[amenity=bank], +node|z17-[shop=supermarket] +{ + text-offset: 8; + font-size: 10; + text: name; + text-color: @poi_label; + z-index: 4000; +} + +/* z=17+ icons */ +node|z17-[tourism=museum] { icon-image: museum-m.svg; } +node|z17-[historic=monument] { icon-image: monument-m.svg; } +node|z17-[tourism=gallery] { icon-image: gallery-m.svg; } +node|z17-[amenity=theatre] { icon-image: theatre-m.svg; } +node|z17-[tourism=zoo] { icon-image: zoo-m.svg; } +node|z17-[amenity=cinema] { icon-image: cinema-m.svg; } +node|z17-[amenity=bank] { icon-image: bank-m.svg; } +node|z17-[shop=supermarket] { icon-image: grocery-m.svg; } + + +/* ZOOM 18+ */ +node|z18-[amenity=cafe], +node|z18-[amenity=fast_food], +node|z18-[amenity=restaurant], +node|z18-[amenity=bar] { + text-offset: 8; + font-size: 10; + text: name; + text-color: @poi_label; + z-index: 4000; +} + +node|z18-[amenity=cafe] { icon-image: cafe-m.svg; } +node|z18-[amenity=fast_food] { icon-image: fastfood-m.svg; } +node|z18-[amenity=restaurant] { icon-image: restaurant-m.svg; } +node|z18-[amenity=bar] { icon-image: bar-m.svg; } |