forked from MapComplete/MapComplete
Generate translations
This commit is contained in:
parent
2484848cd6
commit
6e0f57f368
14 changed files with 159 additions and 1342 deletions
|
@ -1,32 +1,36 @@
|
|||
{
|
||||
"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"
|
||||
"id": "conflation",
|
||||
"description": "This is a special meta_layer which render geometry-changes for inspection",
|
||||
"minzoom": 1,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"or": [
|
||||
"move=yes",
|
||||
"newpoint=yes"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"location": "end",
|
||||
"icon": "circle:#0f0",
|
||||
"iconSize": "10,10,center"
|
||||
},{
|
||||
"location": "start",
|
||||
"icon": "square:#f00",
|
||||
"iconSize": "10,10,center"
|
||||
},
|
||||
{
|
||||
"width": "3",
|
||||
"color": "#00f"
|
||||
}
|
||||
]
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,15 +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"
|
||||
}
|
||||
]
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,19 +1,19 @@
|
|||
{
|
||||
"id": "home_location",
|
||||
"description": "Meta layer showing the home location of the user",
|
||||
"minzoom": 0,
|
||||
"source": {
|
||||
"osmTags": "user:home=yes"
|
||||
},
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "circle:white;./assets/svg/home.svg"
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "20,20,center"
|
||||
},
|
||||
"location": "point"
|
||||
}
|
||||
]
|
||||
"id": "home_location",
|
||||
"description": "Meta layer showing the home location of the user",
|
||||
"minzoom": 0,
|
||||
"source": {
|
||||
"osmTags": "user:home=yes"
|
||||
},
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "circle:white;./assets/svg/home.svg"
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "20,20,center"
|
||||
},
|
||||
"location": "point"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"id": "type_node",
|
||||
"description": "This is a special meta_layer which exports _every_ point in OSM. This only works if zoomed below the point that the full tile is loaded (and not loaded via Overpass). Note that this point will also contain a property `parent_ways` which contains all the ways this node is part of as a list",
|
||||
"minzoom": 18,
|
||||
"source": {
|
||||
"osmTags": "id~node/.*"
|
||||
},
|
||||
"mapRendering": [],
|
||||
"name": "All OSM Nodes",
|
||||
"title": "OSM node {id}",
|
||||
"tagRendering": [ ]
|
||||
"id": "type_node",
|
||||
"description": "This is a special meta_layer which exports _every_ point in OSM. This only works if zoomed below the point that the full tile is loaded (and not loaded via Overpass). Note that this point will also contain a property `parent_ways` which contains all the ways this node is part of as a list",
|
||||
"minzoom": 18,
|
||||
"source": {
|
||||
"osmTags": "id~node/.*"
|
||||
},
|
||||
"mapRendering": [],
|
||||
"name": "All OSM Nodes",
|
||||
"title": "OSM node {id}",
|
||||
"tagRendering": []
|
||||
}
|
|
@ -31,7 +31,7 @@
|
|||
"trackAllNodes": true,
|
||||
"layers": [
|
||||
{
|
||||
"builtin": "type_node",
|
||||
"builtin": "type_node",
|
||||
"isShown": {
|
||||
"render": "no"
|
||||
},
|
||||
|
@ -40,7 +40,7 @@
|
|||
"_is_part_of_building=feat.get('parent_ways')?.some(p => p.building !== undefined && p.building !== '') ?? false",
|
||||
"_is_part_of_building_passage=feat.get('parent_ways')?.some(p => p.tunnel === 'building_passage') ?? false",
|
||||
"_is_part_of_highway=!feat.get('is_part_of_building_passage') && (feat.get('parent_ways')?.some(p => p.highway !== undefined && p.highway !== '') ?? false)",
|
||||
"_is_part_of_landuse=feat.get('parent_ways')?.some(p => (p.landuse !== undefined && p.landuse !== '') || (p.natural !== undefined && p.natural !== '')) ?? false"
|
||||
"_is_part_of_landuse=feat.get('parent_ways')?.some(p => (p.landuse !== undefined && p.landuse !== '') || (p.natural !== undefined && p.natural !== '')) ?? false"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue