forked from MapComplete/MapComplete
Fix default import
This commit is contained in:
parent
2d0cb87e5a
commit
b88bb5b6d0
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ import { Utils } from "../../Utils"
|
||||||
import * as polygon_features from "../../assets/polygon-features.json"
|
import * as polygon_features from "../../assets/polygon-features.json"
|
||||||
import { Store, UIEventSource } from "../UIEventSource"
|
import { Store, UIEventSource } from "../UIEventSource"
|
||||||
import { BBox } from "../BBox"
|
import { BBox } from "../BBox"
|
||||||
import * as OsmToGeoJson from "osmtogeojson"
|
import OsmToGeoJson from "osmtogeojson"
|
||||||
import { NodeId, OsmFeature, OsmId, OsmTags, RelationId, WayId } from "../../Models/OsmFeature"
|
import { NodeId, OsmFeature, OsmId, OsmTags, RelationId, WayId } from "../../Models/OsmFeature"
|
||||||
import { Feature, LineString, Polygon } from "geojson"
|
import { Feature, LineString, Polygon } from "geojson"
|
||||||
|
|
||||||
|
@ -230,7 +230,7 @@ export abstract class OsmObject {
|
||||||
break
|
break
|
||||||
case "relation":
|
case "relation":
|
||||||
osmObject = new OsmRelation(idN)
|
osmObject = new OsmRelation(idN)
|
||||||
const allGeojsons = OsmToGeoJson.default(
|
const allGeojsons = OsmToGeoJson(
|
||||||
{ elements },
|
{ elements },
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue