Browse Source

Fix indendation

master
parent
commit
59f799aa59
  1. 3
      cycle_routes.json
  2. 2
      education.json
  3. 2
      public.json
  4. 85
      shop.json

3
cycle_routes.json

@ -11,9 +11,8 @@
"style": { "style": {
"color": "{% if tags.network=='icn' %}#ff0000{% elseif tags.network=='ncn' %}#ff007f{% elseif tags.network=='rcn' %}#7f00ff{% else %}#0000ff{% endif %}", "color": "{% if tags.network=='icn' %}#ff0000{% elseif tags.network=='ncn' %}#ff007f{% elseif tags.network=='rcn' %}#7f00ff{% else %}#0000ff{% endif %}",
"weight": 4, "weight": 4,
"opacity": 1.0
"opacity": 1
}, },
"priority": "{% if tags.network=='icn' %}0{% elseif tags.network=='ncn' %}1{% elseif tags.network=='rcn' %}2{% else %}3{% endif %}" "priority": "{% if tags.network=='icn' %}0{% elseif tags.network=='ncn' %}1{% elseif tags.network=='rcn' %}2{% else %}3{% endif %}"
} }
} }

2
education.json

@ -13,5 +13,3 @@
"priority": "{% if tags.amenity == 'university' %}0{% elseif tags.amenity == 'college' %}1{% elseif tags.amenity == 'library' %}2{% elseif tags.amenity == 'school' or tags.amenity == 'language_school' %}3{% elseif tags.amenity == 'kindergarten' %}4{% elseif tags.amenity == 'public_bookcase' %}5{% endif %}" "priority": "{% if tags.amenity == 'university' %}0{% elseif tags.amenity == 'college' %}1{% elseif tags.amenity == 'library' %}2{% elseif tags.amenity == 'school' or tags.amenity == 'language_school' %}3{% elseif tags.amenity == 'kindergarten' %}4{% elseif tags.amenity == 'public_bookcase' %}5{% endif %}"
} }
} }

2
public.json

@ -12,5 +12,3 @@
"description": "{{ tagTrans('amenity', tags.amenity) }}" "description": "{{ tagTrans('amenity', tags.amenity) }}"
} }
} }

85
shop.json

@ -10,7 +10,6 @@
"body": "{{ tagTransList('shop', tags.shop) }}", "body": "{{ tagTransList('shop', tags.shop) }}",
"description": "{{ tagTransList('shop', tags.shop) }}", "description": "{{ tagTransList('shop', tags.shop) }}",
"markerSign": "{% set c = current.sign %}{% if c|slice(0, 3) == 'fa-' %}<i class=\"fa {{ c }}\"></i>{% else %}{{ c|raw }}{% endif %}", "markerSign": "{% set c = current.sign %}{% if c|slice(0, 3) == 'fa-' %}<i class=\"fa {{ c }}\"></i>{% else %}{{ c|raw }}{% endif %}",
"__": "need better icons for: bakery, butcher, cheese, ice_cream, ",
"__": "no icons for: brewing_supplies, charity, second_hand, variety_store" "__": "no icons for: brewing_supplies, charity, second_hand, variety_store"
}, },
"const": { "const": {
@ -19,67 +18,119 @@
}, },
"shops": [ "shops": [
{ {
"types": [ "alcohol", "beverages" ],
"types": [
"alcohol",
"beverages"
],
"sign": "fa-beer" "sign": "fa-beer"
}, },
{ {
"types": [ "baby_goods" ],
"types": [
"baby_goods"
],
"sign": "&#128700;" "sign": "&#128700;"
}, },
{ {
"types": [ "bag", "general" ],
"types": [
"bag",
"general"
],
"sign": "fa-shopping-bag" "sign": "fa-shopping-bag"
}, },
{ {
"types": [ "bakery", "confectionery", "pastry" ],
"types": [
"bakery",
"confectionery",
"pastry"
],
"sign": "fa-birthday-cake" "sign": "fa-birthday-cake"
}, },
{ {
"types": [ "boutique", "clothes", "fabric", "fashion", "leather", "sewing", "tailor" ],
"types": [
"boutique",
"clothes",
"fabric",
"fashion",
"leather",
"sewing",
"tailor"
],
"sign": "&#128090;" "sign": "&#128090;"
}, },
{ {
"types": [ "butcher", "cheese", "chocolate", "deli", "dairy", "farm", "greengrocer", "pasta", "spices" ],
"types": [
"butcher",
"cheese",
"chocolate",
"deli",
"dairy",
"farm",
"greengrocer",
"pasta",
"spices"
],
"sign": "fa-cutlery" "sign": "fa-cutlery"
}, },
{ {
"types": [ "coffee", "tea" ],
"types": [
"coffee",
"tea"
],
"sign": "fa-coffee" "sign": "fa-coffee"
}, },
{ {
"types": [ "convenience" ],
"types": [
"convenience"
],
"sign": "fa-shopping-basket" "sign": "fa-shopping-basket"
}, },
{ {
"types": [ "department_store", "mall" ],
"types": [
"department_store",
"mall"
],
"sign": "fa-building" "sign": "fa-building"
}, },
{ {
"types": [ "hairdresser" ],
"types": [
"hairdresser"
],
"sign": "&#128113;" "sign": "&#128113;"
}, },
{ {
"types": [ "ice_cream" ],
"types": [
"ice_cream"
],
"sign": "&#127848;" "sign": "&#127848;"
}, },
{ {
"types": [ "jewelry" ],
"types": [
"jewelry"
],
"sign": "&#128141;" "sign": "&#128141;"
}, },
{ {
"types": [ "kiosk" ],
"types": [
"kiosk"
],
"sign": "fa-newspaper-o" "sign": "fa-newspaper-o"
}, },
{ {
"types": [ "shoes" ],
"types": [
"shoes"
],
"sign": "&#128095;" "sign": "&#128095;"
}, },
{ {
"types": [ "supermarket" ],
"types": [
"supermarket"
],
"sign": "fa-shopping-cart" "sign": "fa-shopping-cart"
}, },
{ {
"types": [ "watches" ],
"types": [
"watches"
],
"sign": "&#8986;" "sign": "&#8986;"
} }
] ]

Loading…
Cancel
Save