forked from MapComplete/MapComplete
UX(inspector): fix search, show graphs, see #2353
This commit is contained in:
parent
0ae58a740c
commit
4e5f32139e
6 changed files with 95 additions and 31 deletions
|
|
@ -330,6 +330,9 @@ ${nds}${tags} </way>
|
|||
}
|
||||
|
||||
private isPolygon(): boolean {
|
||||
if (this.coordinates.length === 0) {
|
||||
return false
|
||||
}
|
||||
// Compare lat and lon seperately, as the coordinate array might not be a reference to the same object
|
||||
if (
|
||||
this.coordinates[0][0] !== this.coordinates[this.coordinates.length - 1][0] ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue