mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Add preset for camp_site=camp_pitch for individual pitches
This commit is contained in:
@@ -1935,6 +1935,11 @@ en:
|
||||
# building=warehouse
|
||||
name: Warehouse
|
||||
terms: '<translate with synonyms or related terms for ''Warehouse'', separated by commas>'
|
||||
camp_site/camp_pitch:
|
||||
# camp_site=camp_pitch
|
||||
name: Camp Pitch
|
||||
# 'terms: tent,rv'
|
||||
terms: '<translate with synonyms or related terms for ''Camp Pitch'', separated by commas>'
|
||||
craft:
|
||||
# craft=*
|
||||
name: Craft
|
||||
|
||||
@@ -3302,6 +3302,24 @@
|
||||
"matchScore": 0.5,
|
||||
"name": "Warehouse"
|
||||
},
|
||||
"camp_site/camp_pitch": {
|
||||
"icon": "campsite",
|
||||
"fields": [
|
||||
"ref"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
"area"
|
||||
],
|
||||
"terms": [
|
||||
"tent",
|
||||
"rv"
|
||||
],
|
||||
"tags": {
|
||||
"camp_site": "camp_pitch"
|
||||
},
|
||||
"name": "Camp Pitch"
|
||||
},
|
||||
"craft": {
|
||||
"icon": "marker-stroked",
|
||||
"fields": [
|
||||
|
||||
18
data/presets/presets/camp_site/camp_pitch.json
Normal file
18
data/presets/presets/camp_site/camp_pitch.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"icon": "campsite",
|
||||
"fields": [
|
||||
"ref"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
"area"
|
||||
],
|
||||
"terms": [
|
||||
"tent",
|
||||
"rv"
|
||||
],
|
||||
"tags": {
|
||||
"camp_site": "camp_pitch"
|
||||
},
|
||||
"name": "Camp Pitch"
|
||||
}
|
||||
@@ -728,6 +728,10 @@
|
||||
"key": "building",
|
||||
"value": "warehouse"
|
||||
},
|
||||
{
|
||||
"key": "camp_site",
|
||||
"value": "camp_pitch"
|
||||
},
|
||||
{
|
||||
"key": "craft"
|
||||
},
|
||||
|
||||
4
dist/locales/en.json
vendored
4
dist/locales/en.json
vendored
@@ -2327,6 +2327,10 @@
|
||||
"name": "Warehouse",
|
||||
"terms": ""
|
||||
},
|
||||
"camp_site/camp_pitch": {
|
||||
"name": "Camp Pitch",
|
||||
"terms": "tent,rv"
|
||||
},
|
||||
"craft": {
|
||||
"name": "Craft",
|
||||
"terms": ""
|
||||
|
||||
@@ -42,6 +42,7 @@ export function svgLabels(projection, context) {
|
||||
['area', 'natural', '*', 12],
|
||||
['area', 'shop', '*', 12],
|
||||
['area', 'tourism', '*', 12],
|
||||
['area', 'camp_site', '*', 12],
|
||||
['point', 'aeroway', '*', 10],
|
||||
['point', 'amenity', '*', 10],
|
||||
['point', 'building', '*', 10],
|
||||
@@ -51,6 +52,7 @@ export function svgLabels(projection, context) {
|
||||
['point', 'natural', '*', 10],
|
||||
['point', 'shop', '*', 10],
|
||||
['point', 'tourism', '*', 10],
|
||||
['point', 'camp_site', '*', 10],
|
||||
['line', 'name', '*', 12],
|
||||
['area', 'name', '*', 12],
|
||||
['point', 'name', '*', 10]
|
||||
|
||||
Reference in New Issue
Block a user