forked from MapComplete/MapComplete
Refactoring: highlight the currently selected element
This commit is contained in:
parent
06631ccd6d
commit
2b47cf934c
20 changed files with 214 additions and 72 deletions
|
@ -30,7 +30,7 @@ export class UpdateLegacyLayer extends DesugaringStep<
|
|||
config.source = config.source ?? {
|
||||
osmTags: config["overpassTags"],
|
||||
}
|
||||
config.source.osmTags = config["overpassTags"]
|
||||
config.source["osmTags"] = config["overpassTags"]
|
||||
delete config["overpassTags"]
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import Combine from "../../UI/Base/Combine"
|
|||
import { VariableUiElement } from "../../UI/Base/VariableUIElement"
|
||||
|
||||
export default class PointRenderingConfig extends WithContextLoader {
|
||||
private static readonly allowed_location_codes = new Set<string>([
|
||||
static readonly allowed_location_codes: ReadonlySet<string> = new Set<string>([
|
||||
"point",
|
||||
"centroid",
|
||||
"start",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue