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
15
assets/layers/gps_location/gps_location.json
Normal file
15
assets/layers/gps_location/gps_location.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"id": "gps_location",
|
||||
"description": "Meta layer showing the current location of the user",
|
||||
"minzoom": 0,
|
||||
"source": {
|
||||
"osmTags": "user:location=yes"
|
||||
},
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": "crosshair:#00f",
|
||||
"iconSize": "40,40,center",
|
||||
"location": "point"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue