forked from MapComplete/MapComplete
refactoring: more state splitting, basic layoutFeatureSource
This commit is contained in:
parent
8e2f04c0d0
commit
b94a8f5745
54 changed files with 1067 additions and 1969 deletions
|
@ -3,7 +3,6 @@ import { RegexTag } from "../../Logic/Tags/RegexTag"
|
|||
|
||||
export default class SourceConfig {
|
||||
public osmTags?: TagsFilter
|
||||
public readonly overpassScript?: string
|
||||
public geojsonSource?: string
|
||||
public geojsonZoomLevel?: number
|
||||
public isOsmCacheLayer: boolean
|
||||
|
@ -68,7 +67,6 @@ export default class SourceConfig {
|
|||
}
|
||||
}
|
||||
this.osmTags = params.osmTags ?? new RegexTag("id", /.*/)
|
||||
this.overpassScript = params.overpassScript
|
||||
this.geojsonSource = params.geojsonSource
|
||||
this.geojsonZoomLevel = params.geojsonSourceLevel
|
||||
this.isOsmCacheLayer = params.isOsmCache ?? false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue