forked from MapComplete/MapComplete
Fix typing and build
This commit is contained in:
parent
336ebc4ea9
commit
5f1a7892c1
6 changed files with 20 additions and 19 deletions
|
@ -3,11 +3,11 @@
|
|||
*/
|
||||
import { UIEventSource } from "./UIEventSource"
|
||||
import { GeoJSONObject } from "@turf/turf"
|
||||
import {Feature, Point} from "geojson";
|
||||
import {Feature, Geometry, Point} from "geojson";
|
||||
import {OsmTags} from "../Models/OsmFeature";
|
||||
|
||||
export class ElementStorage {
|
||||
public ContainingFeatures = new Map<string, Feature<Point, OsmTags >>()
|
||||
public ContainingFeatures = new Map<string, Feature<Geometry, OsmTags >>()
|
||||
private _elements = new Map<string, UIEventSource<any>>()
|
||||
|
||||
constructor() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue