forked from MapComplete/MapComplete
Refactoring: fix rendering of new roads, generated by a split
This commit is contained in:
parent
840990c08b
commit
8eb2c68f79
34 changed files with 443 additions and 333 deletions
|
@ -7,6 +7,7 @@ import StaticFeatureSource from "../Sources/StaticFeatureSource"
|
|||
|
||||
export default class LocalStorageFeatureSource extends DynamicTileSource {
|
||||
constructor(
|
||||
backend: string,
|
||||
layername: string,
|
||||
zoomlevel: number,
|
||||
mapProperties: {
|
||||
|
@ -17,7 +18,7 @@ export default class LocalStorageFeatureSource extends DynamicTileSource {
|
|||
isActive?: Store<boolean>
|
||||
}
|
||||
) {
|
||||
const storage = TileLocalStorage.construct<Feature[]>(layername)
|
||||
const storage = TileLocalStorage.construct<Feature[]>(backend, layername)
|
||||
super(
|
||||
zoomlevel,
|
||||
(tileIndex) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue