"description":"This layer shows notes on OpenStreetMap. Having this layer in your theme will trigger the 'add new note' functionality in the 'addNewPoint'-popup (or if your theme has no presets, it'll enable adding notes)",
"en":"<a href='https://www.openstreetmap.org/reports/new?reportable_id={_first_user_id}&reportable_type=User' target='_blank' class='subtle'>Report {_first_user} as spam</a>"
},
"condition":"_opened_by_anonymous_user=false"
},
{
"id":"report-note",
"render":{
"en":"<a href='https://www.openstreetmap.org/reports/new?reportable_id={id}&reportable_type=Note' target='_blank'>Report this note as spam or inappropriate</a>"
}
}
],
"mapRendering":[
{
"location":[
"point",
"centroid"
],
"icon":{
"render":"./assets/svg/note.svg",
"mappings":[
{
"if":"closed_at~*",
"then":"./assets/svg/resolved.svg"
}
]
},
"iconSize":"40,40,bottom"
}
],
"filter":[
{
"id":"search",
"options":[
{
"osmTags":"_first_comment~.*{search}.*",
"fields":[
{
"name":"search"
}
],
"question":{
"en":"Should mention {search} in the first comment"
}
}
]
},
{
"id":"not",
"options":[
{
"osmTags":"_first_comment!~.*{search}.*",
"fields":[
{
"name":"search"
}
],
"question":{
"en":"Should <b>not</b> mention {search} in the first comment"