Feature: allow to move and snap to a layer, fix #2120

This commit is contained in:
Pieter Vander Vennet 2024-09-04 00:07:23 +02:00
parent eb89427bfc
commit fdedb75954
34 changed files with 824 additions and 301 deletions

View file

@ -643,7 +643,8 @@
"pointIsMoved": "The point has been moved",
"reasons": {
"reasonInaccurate": "The location is inaccurate by a few meter",
"reasonRelocation": "The object has been relocated to a totally different location"
"reasonRelocation": "The object has been relocated to a totally different location",
"reasonSnapTo": "This should be snapped onto {name}"
},
"selectReason": "Why do you move this object?",
"whyMove": "Why do you want to move this point?",

View file

@ -12002,6 +12002,7 @@
},
"walls_and_buildings": {
"description": "Special builtin layer providing all walls and buildings. This layer is useful in presets for objects which can be placed against walls (e.g. AEDs, postboxes, entrances, addresses, surveillance cameras, …). This layer is invisible by default and not toggleable by the user.",
"snapName": "a wall or building",
"tagRenderings": {
"entrance_info": {
"mappings": {

View file

@ -9671,6 +9671,7 @@
},
"walls_and_buildings": {
"description": "Speciale ingebouwde laag voor alle muren en gebouwen. Deze laag is nuttig in voorkeuzen voor objecten die tegen muren geplaatst kunnen worden (bv. AEDs, brievenbussen, ingangen, adressen, beveiligingscamera's,…). Deze laag is standaard onzichtbaar en niet in te schakelen door de gebruiker.",
"snapName": "een muur of gebouw",
"tagRenderings": {
"entrance_info": {
"mappings": {