mapcomplete/assets/layers/conflation/conflation.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

85 lines
1.7 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,
2023-03-24 19:21:15 +01:00
"source": "special",
2021-11-07 15:44:22 +01:00
"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"
}
]
},
"iconSize": "10,10",
"anchor": "center"
},
2021-11-07 15:44:22 +01:00
{
"location": "end",
"icon": {
"render": "circle:#0f0",
2021-12-10 15:32:11 +01:00
"mappings": [
2022-01-05 16:36:08 +01:00
{
"if": "reprojection=yes",
"then": "none:#f00"
2022-01-05 16:36:08 +01:00
},
2021-12-10 15:32:11 +01:00
{
"if": "move=no",
"then": "ring:#0f0"
}
]
},
"iconSize": "10,10",
"anchor": "center"
2021-11-07 15:44:22 +01:00
},
{
"location": "start",
"icon": {
2022-01-06 15:38:43 +01:00
"render": "square:#f00",
"mappings": [
{
"if": "reprojection=yes",
"then": "reload:#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"
}
]
}
}
]
}