forked from MapComplete/MapComplete
chore: refactoring, linting, removing obsolete files
This commit is contained in:
parent
b7a4930583
commit
2bc2a6cddf
54 changed files with 125 additions and 457 deletions
|
@ -370,7 +370,7 @@ export class GeoOperations {
|
|||
): Feature<LineString | MultiLineString>[] {
|
||||
if (way.geometry.type === "Polygon") {
|
||||
const poly: Feature<Polygon> = <Feature<Polygon>>way
|
||||
return poly.geometry.coordinates.map((linestringCoors, i) => {
|
||||
return poly.geometry.coordinates.map(linestringCoors => {
|
||||
return <Feature<LineString>>{
|
||||
type: "Feature",
|
||||
geometry: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue