mapcomplete/assets/layers/conflation/conflation.json

77 lines
1.5 KiB
JSON
Raw Normal View History

{
2021-11-07 15:44:22 +01:00
"id": "conflation",
"description": "If the import-button moves OSM points, the imported way points or conflates, a preview is shown. This layer defines how this preview is rendered. This layer cannot be included in a theme.",
2021-11-07 15:44:22 +01:00
"minzoom": 1,
"source": {
"osmTags": {
"or": [
"move=yes",
"newpoint=yes"
]
}
},
"name": "Conflation",
"title": "Conflation",
"mapRendering": [
{
"location": "point",
2021-12-23 03:36:03 +01:00
"icon": {
"render": "addSmall:#000",
2021-12-23 03:36:03 +01:00
"mappings": [
{
"if": "detach=yes",
"then": "circle:white;close:#c33"
}
]
},
2021-11-07 15:44:22 +01:00
"iconSize": "10,10,center"
},
2021-11-07 15:44:22 +01:00
{
"location": "end",
"icon": {
"render": "circle:#0f0",
2021-12-10 15:32:11 +01:00
"mappings": [
{
"if": "move=no",
"then": "ring:#0f0"
}
]
},
2021-11-07 15:44:22 +01:00
"iconSize": "10,10,center"
},
{
"location": "start",
"icon": "square:#f00",
"iconSize": {
2021-12-10 15:32:11 +01:00
"render": "10,10,center",
"mappings": [
{
"if": "distance<0.1",
"then": "0,0,center"
}
]
}
2021-11-07 15:44:22 +01:00
},
{
"width": {
2021-12-10 15:32:11 +01:00
"render": "3",
"mappings": [
{
"if": "distance<0.2",
"then": "0"
}
]
},
2021-11-07 15:44:22 +01:00
"color": "#00f",
"dasharray": {
"render": "",
"mappings": [
{
"if": "resulting-geometry=yes",
"then": "6 6"
}
]
}
}
]
}