mapcomplete/assets/layers/conflation/conflation.json

65 lines
1.3 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",
"icon": "addSmall:#000",
"iconSize": "10,10,center"
},
2021-11-07 15:44:22 +01:00
{
"location": "end",
"icon": {
"render": "circle:#0f0",
"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": {
"render":"10,10,center",
"mappings": [
{
"if": "distance<0.1",
"then": "0,0,center"
}
]
}
2021-11-07 15:44:22 +01:00
},
{
"width": {
"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"
}
]
}
}
]
}