add preset for wi-fi hotspots

This commit is contained in:
Simon Bilsky-Rollins
2018-08-26 11:22:23 -04:00
parent 2cee31d611
commit 31d165332b
6 changed files with 38 additions and 5 deletions
+5
View File
@@ -3585,6 +3585,11 @@ en:
# historic=wayside_shrine
name: Wayside Shrine
terms: '<translate with synonyms or related terms for ''Wayside Shrine'', separated by commas>'
internet_access/wlan:
# internet_access=wlan
name: Wi-Fi Hotspot
# 'terms: wi-fi,wifi,hotspot'
terms: '<translate with synonyms or related terms for ''Wi-Fi Hotspot'', separated by commas>'
junction:
# junction=yes
name: Junction
+1
View File
@@ -414,6 +414,7 @@
"historic/tomb": {"icon": "maki-cemetery", "fields": ["name", "tomb", "building_area", "inscription"], "geometry": ["point", "area"], "tags": {"historic": "tomb"}, "name": "Tomb"},
"historic/wayside_cross": {"icon": "maki-religious-christian", "fields": ["name", "inscription"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "wayside_cross"}, "name": "Wayside Cross"},
"historic/wayside_shrine": {"icon": "maki-landmark", "fields": ["name", "religion", "denomination", "inscription"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "wayside_shrine"}, "name": "Wayside Shrine"},
"internet_access/wlan": {"icon": "fas-wifi", "geometry": ["point", "area"], "fields": ["internet_access/fee", "internet_access/ssid"], "terms": ["wi-fi", "wifi", "hotspot"], "tags": {"internet_access": "wlan"}, "name": "Wi-Fi Hotspot"},
"junction": {"icon": "temaki-junction", "fields": ["name"], "geometry": ["vertex", "area"], "tags": {"junction": "yes"}, "name": "Junction"},
"landuse": {"fields": ["name", "landuse"], "geometry": ["area"], "tags": {"landuse": "*"}, "matchScore": 0.9, "name": "Land Use"},
"landuse/farm": {"icon": "maki-farm", "fields": ["name", "operator", "crop"], "geometry": ["point", "area"], "tags": {"landuse": "farm"}, "terms": [], "name": "Farmland", "searchable": false},
@@ -0,0 +1,20 @@
{
"icon": "fas-wifi",
"geometry": [
"point",
"area"
],
"fields": [
"internet_access/fee",
"internet_access/ssid"
],
"terms": [
"wi-fi",
"wifi",
"hotspot"
],
"tags": {
"internet_access": "wlan"
},
"name": "Wi-Fi Hotspot"
}
+7 -5
View File
@@ -2779,6 +2779,13 @@
"object_types": ["node", "area"],
"icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/landmark-15.svg?sanitize=true"
},
{
"key": "internet_access",
"value": "wlan",
"description": "Wi-Fi Hotspot, Internet Access",
"object_types": ["node", "area"],
"icon_url": "https://raw.githubusercontent.com/openstreetmap/iD/master/svg/fontawesome/fas-wifi.svg?sanitize=true"
},
{
"key": "junction",
"value": "yes",
@@ -6611,11 +6618,6 @@
"description": "Internet Access"
},
{"key": "internet_access", "value": "no", "description": "Internet Access"},
{
"key": "internet_access",
"value": "wlan",
"description": "Internet Access"
},
{
"key": "internet_access",
"value": "wired",