forked from MapComplete/MapComplete
Fix multiple bugs after user testing
This commit is contained in:
parent
bcdbf6a2dd
commit
9bd37d9cde
20 changed files with 1529 additions and 77 deletions
|
|
@ -29,8 +29,10 @@ export class LayerDefinition {
|
|||
|
||||
style: (tags: any) => any;
|
||||
|
||||
removeContainedElements: boolean = false;
|
||||
removeTouchingElements: boolean = false;
|
||||
/**
|
||||
* If an object of the next layer is contained for this many percent in this feature, it is eaten and not shown
|
||||
*/
|
||||
maxAllowedOverlapPercentage: number = undefined;
|
||||
|
||||
|
||||
asLayer(basemap: Basemap, allElements: ElementStorage, changes: Changes, userDetails: UIEventSource<UserDetails>, selectedElement: UIEventSource<any>):
|
||||
|
|
@ -40,7 +42,7 @@ export class LayerDefinition {
|
|||
this.name,
|
||||
basemap, allElements, changes,
|
||||
this.overpassFilter,
|
||||
this.removeContainedElements, this.removeTouchingElements,
|
||||
this.maxAllowedOverlapPercentage,
|
||||
this.style,
|
||||
selectedElement);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue