forked from MapComplete/MapComplete
Refactoring: port add-image-to-note to new element as well, remove obsolete classes, fix note creation
This commit is contained in:
parent
94ba18785d
commit
9a5a2e9924
10 changed files with 617 additions and 1001 deletions
|
@ -16,6 +16,7 @@ import { MenuState } from "../Models/MenuState";
|
|||
import OsmObjectDownloader from "../Logic/Osm/OsmObjectDownloader";
|
||||
import { RasterLayerPolygon } from "../Models/RasterLayers";
|
||||
import { ImageUploadManager } from "../Logic/ImageProviders/ImageUploadManager";
|
||||
import { OsmTags } from "../Models/OsmFeature";
|
||||
|
||||
/**
|
||||
* The state needed to render a special Visualisation.
|
||||
|
@ -26,7 +27,7 @@ export interface SpecialVisualizationState {
|
|||
readonly featureSwitches: FeatureSwitchState;
|
||||
|
||||
readonly layerState: LayerState;
|
||||
readonly featureProperties: { getStore(id: string): UIEventSource<Record<string, string>> };
|
||||
readonly featureProperties: { getStore(id: string): UIEventSource<Record<string, string>>, trackFeature?(feature: { properties: OsmTags }) };
|
||||
|
||||
readonly indexedFeatures: IndexedFeatureSource;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue