diff --git a/layers/poi/style.json b/layers/poi/style.json index ad246b5f..546f2089 100644 --- a/layers/poi/style.json +++ b/layers/poi/style.json @@ -23,11 +23,29 @@ ] }, "icon-image": [ - "match", - ["get", "subclass"], - "chocolate", - "confectionery", - ["get", "subclass"] + "coalesce", + [ + "image", + [ + "match", + ["get", "subclass"], + "chocolate", + "confectionery", + "wine", + "alcohol", + "kiosk", + "newsagent", + "perfume", + "perfumery", + "wholesale", + "trade", + ["get", "subclass"] + ] + ], + [ + "image", + "shop" + ] ], "text-field": "{name:latin}\n{name:nonlatin}", "visibility": "visible", @@ -41,16 +59,7 @@ "icon-allow-overlap": true }, "paint": { - "text-color": [ - "match", - [ - "get", - "class" - ], - "ice_cream", - "#C77400", - "#939" - ], + "text-color": "#939", "icon-opacity": 1, "icon-halo-blur": 1, "text-halo-blur": 0.5, @@ -78,7 +87,9 @@ "subclass", "mall", "library", - "artwork" + "artwork", + "arts_centre", + "gallery" ] ], "order": 155 @@ -124,16 +135,7 @@ "icon-allow-overlap": true }, "paint": { - "text-color": [ - "match", - [ - "get", - "class" - ], - "ice_cream", - "#C77400", - "#939" - ], + "text-color": "#939", "icon-opacity": 1, "icon-halo-blur": 1, "text-halo-blur": 0.5, @@ -873,7 +875,6 @@ "class", "cinema", "library", - "music", "museum", "castle", "monument", @@ -883,9 +884,7 @@ "!in", "subclass", "books", - "musical_instrument", - "art", - "gallery" + "art" ] ], "order": 168 diff --git a/style/icons/chocolate.svg b/style/icons/chocolate.svg deleted file mode 100644 index ab55f153..00000000 --- a/style/icons/chocolate.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - diff --git a/style/icons/gallery.svg b/style/icons/gallery.svg new file mode 100644 index 00000000..ef93c527 --- /dev/null +++ b/style/icons/gallery.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/style/icons/frozen_food.svg b/style/icons/shop.svg similarity index 100% rename from style/icons/frozen_food.svg rename to style/icons/shop.svg diff --git a/style/icons/tattoo.svg b/style/icons/tattoo.svg deleted file mode 100644 index d29e518e..00000000 --- a/style/icons/tattoo.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - diff --git a/style/icons/watches.svg b/style/icons/watches.svg deleted file mode 100644 index df654b43..00000000 --- a/style/icons/watches.svg +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - -