Feature: Hundesalons in der Karte, SW by-v1098
- OSM-Query 'hundesalon' nutzt shop=pet_grooming + craft=pet_grooming - map.js: neuer Layer 'hundesalon' mit Schere-Icon (#EC4899 Pink), in Layer-Liste, TYPEN, OSM_LAYER_MAP und PIN_TYPES eingetragen - User können selbst Hundesalons als POI anlegen (places.py TYPEN + osm.py ALLOWED_TYPES erweitert)
This commit is contained in:
parent
6ad7c4be77
commit
cc4f030fd0
7 changed files with 18 additions and 12 deletions
|
|
@ -46,6 +46,7 @@ window.Page_map = (() => {
|
|||
shop: [],
|
||||
kotbeutel: [],
|
||||
tierarzt: [],
|
||||
hundesalon: [],
|
||||
hundeschule: [],
|
||||
poison: [],
|
||||
muell: [],
|
||||
|
|
@ -83,6 +84,7 @@ window.Page_map = (() => {
|
|||
shop: { icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#shopping-cart"></use></svg>', label: 'Shop', color: '#3B82F6', z: 15 },
|
||||
kotbeutel: { icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#bag"></use></svg>', label: 'Kotbeutel', color: '#84A98C', z: 5 },
|
||||
tierarzt: { icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#first-aid"></use></svg>', label: 'Tierarzt', color: '#EF4444', z: 40 },
|
||||
hundesalon: { icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#scissors"></use></svg>', label: 'Hundesalon', color: '#EC4899', z: 25 },
|
||||
hundeschule: { icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#graduation-cap"></use></svg>', label: 'Hundeschule', color: '#8B5CF6', z: 30 },
|
||||
poison: { icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#warning"></use></svg>', label: 'Giftköder', color: '#DC2626', z: 100 },
|
||||
muell: { icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#trash"></use></svg>', label: 'Mülleimer', color: '#6B7280', z: -20 },
|
||||
|
|
@ -104,6 +106,7 @@ window.Page_map = (() => {
|
|||
dog_park: 'dog_park',
|
||||
wasser: 'drinking_water',
|
||||
tierarzt: 'tierarzt',
|
||||
hundesalon: 'hundesalon',
|
||||
shop: 'shop',
|
||||
restaurant: 'restaurant',
|
||||
bank: 'bank',
|
||||
|
|
@ -1069,6 +1072,7 @@ window.Page_map = (() => {
|
|||
{ type: 'restaurant', icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#fork-knife"></use></svg>', label: 'Restaurant', color: '#F97316' },
|
||||
{ type: 'shop', icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#shopping-cart"></use></svg>', label: 'Shop', color: '#3B82F6' },
|
||||
{ type: 'tierarzt', icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#first-aid"></use></svg>', label: 'Tierarzt', color: '#EF4444' },
|
||||
{ type: 'hundesalon', icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#scissors"></use></svg>', label: 'Hundesalon', color: '#EC4899' },
|
||||
{ type: 'hundeschule', icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#graduation-cap"></use></svg>', label: 'Hundeschule', color: '#8B5CF6' },
|
||||
{ type: 'waste_basket', icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#trash"></use></svg>', label: 'Mülleimer', color: '#6B7280' },
|
||||
{ type: 'kotbeutel', icon: '<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#bag"></use></svg>', label: 'Kotbeutel', color: '#84A98C' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue