[gnome-maps/wip/mlundblad/less-shoplike-shops] placeIcons: Refine use of shopping cart icon




commit 9af6fbfb5212cb43d2ad9867af2131fecf11d05a
Author: Marcus Lundblad <ml update uu se>
Date:   Mon Aug 23 23:11:45 2021 +0200

    placeIcons: Refine use of shopping cart icon
    
    Use the shopping cart icon for more supermarket-
    like place types, as covering all shop= catches
    some cases where it is not as fitting.
    Better fall back to the generic pin icon
    for other shop= tags.

 src/placeIcons.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/placeIcons.js b/src/placeIcons.js
index 9e171976..4ef1303f 100644
--- a/src/placeIcons.js
+++ b/src/placeIcons.js
@@ -99,7 +99,11 @@ const TYPE_ICON_MAP = {
         tram_stop:        'route-transit-tram-symbolic'
     },
     shop: {
-        _:                'shopping-cart-symbolic'
+        convenience:      'shopping-cart-symbolic',
+        department_store: 'shopping-cart-symbolic',
+        general:          'shopping-cart-symbolic',
+        mall:             'shopping-cart-symbolic',
+        supermarket:      'shopping-cart-symbolic'
     },
     tourism: {
         alpine_hut:       'bed-symbolic',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]