forked from MapComplete/MapComplete
Feature: stabilize saved history, add code to cleanup old preferences, make loading preferences faster (which prevents a 'hang') when just logged in
This commit is contained in:
parent
dc1e582664
commit
c1d3f35d30
10 changed files with 249 additions and 146 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import ThemeConfig from "../ThemeConfig/ThemeConfig"
|
||||
import { Store, UIEventSource } from "../../Logic/UIEventSource"
|
||||
import { Map as MlMap } from "maplibre-gl"
|
||||
import { GeoLocationState } from "../../Logic/State/GeoLocationState"
|
||||
import { GeoLocationPointProperties, GeoLocationState } from "../../Logic/State/GeoLocationState"
|
||||
import InitialMapPositioning from "../../Logic/Actors/InitialMapPositioning"
|
||||
import { MapLibreAdaptor } from "../../UI/Map/MapLibreAdaptor"
|
||||
import { ExportableMap, MapProperties } from "../MapProperties"
|
||||
|
|
@ -43,7 +43,7 @@ export class UserMapFeatureswitchState extends WithUserRelatedState {
|
|||
readonly geolocationState: GeoLocationState
|
||||
readonly geolocation: GeoLocationHandler
|
||||
readonly geolocationControl: GeolocationControlState
|
||||
readonly historicalUserLocations: WritableFeatureSource<Feature<Point>>
|
||||
readonly historicalUserLocations: WritableFeatureSource<Feature<Point, GeoLocationPointProperties>>
|
||||
|
||||
readonly availableLayers: { store: Store<RasterLayerPolygon[]> }
|
||||
readonly currentView: FeatureSource<Feature<Polygon>>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue