mapcomplete/assets/layers/conflation/conflation.json

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

138 lines
2.8 KiB
JSON
Raw Normal View History

{
2021-11-07 15:44:22 +01:00
"id": "conflation",
"name": "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.",
2023-03-24 19:21:15 +01:00
"source": "special",
"minzoom": 1,
2021-11-07 15:44:22 +01:00
"title": "Conflation",
2023-09-19 14:04:13 +02:00
"pointRendering": [
2021-11-07 15:44:22 +01:00
{
"location": [
"point"
],
"marker": [
{
"color": {
"render": "#000",
"mappings": [
{
"if": "detach=yes",
"then": "white"
}
]
},
"icon": {
"render": "addSmall:#000",
"mappings": [
{
"if": "detach=yes",
"then": "white"
}
]
2021-12-23 03:36:03 +01:00
}
},
{
"icon": {
"mappings": [
{
"if": "detach=yes",
"then": "close"
}
]
},
"color": "#C33"
}
],
"iconSize": "10,10",
"anchor": "center"
},
2021-11-07 15:44:22 +01:00
{
"location": [
"end"
],
"marker": [
{
"icon": {
"render": "circle",
"mappings": [
{
"if": "reprojection=yes",
"then": "none"
},
{
"if": "move=no",
"then": "ring"
}
]
2022-01-05 16:36:08 +01:00
},
"color": {
"render": "#0f0",
"mappings": [
{
"if": "reprojection=yes",
"then": "#f00"
},
{
"if": "move=no",
"then": "#0f0"
}
]
2021-12-10 15:32:11 +01:00
}
}
],
"iconSize": "10,10",
"anchor": "center"
2021-11-07 15:44:22 +01:00
},
{
"location": [
"start"
],
"marker": [
{
"icon": {
"render": "square",
"mappings": [
{
"if": "reprojection=yes",
"then": "reload"
}
]
},
"color": {
"render": "#f00",
"mappings": [
{
"if": "reprojection=yes",
"then": "#f00"
}
]
}
}
],
"iconSize": {
2021-12-10 15:32:11 +01:00
"render": "10,10,center",
"mappings": [
{
"if": "distance<0.1",
"then": "0,0,center"
}
]
}
2023-09-19 14:04:13 +02:00
}
],
"lineRendering": [
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"
}
]
},
"color": "#00f"
2021-11-07 15:44:22 +01:00
}
]
}