forked from MapComplete/MapComplete
Refactoring of GPS-location (uses featureSource too now), factoring out state, add ReplaceGeometryAction and conflation example
This commit is contained in:
parent
1db54f3c8e
commit
2484848cd6
37 changed files with 1035 additions and 467 deletions
32
assets/layers/conflation/conflation.json
Normal file
32
assets/layers/conflation/conflation.json
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"id": "conflation",
|
||||
"description": "This is a special meta_layer which render geometry-changes for inspection",
|
||||
"minzoom": 1,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"or": ["move=yes","newpoint=yes"]
|
||||
}
|
||||
},
|
||||
"name": "Conflation",
|
||||
"title": "Conflation",
|
||||
"mapRendering": [
|
||||
{
|
||||
"location": "point",
|
||||
"icon": "addSmall:#000",
|
||||
"iconSize": "10,10,center"
|
||||
},
|
||||
{
|
||||
"location": "end",
|
||||
"icon": "circle:#0f0",
|
||||
"iconSize": "10,10,center"
|
||||
},{
|
||||
"location": "start",
|
||||
"icon": "square:#f00",
|
||||
"iconSize": "10,10,center"
|
||||
},
|
||||
{
|
||||
"width": "3",
|
||||
"color": "#00f"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue