Fix build
This commit is contained in:
parent
196894cca7
commit
99512724e0
2 changed files with 2 additions and 2 deletions
|
@ -225,7 +225,7 @@ export interface LayerConfigJson {
|
||||||
* If 'preferredBackgroundCategory' is set, the element will attempt to pick a background layer of that category.
|
* If 'preferredBackgroundCategory' is set, the element will attempt to pick a background layer of that category.
|
||||||
*/
|
*/
|
||||||
preciseInput?: true | {
|
preciseInput?: true | {
|
||||||
preferredBackground: "osmbasedmap" | "photo" | "historicphoto" | "map"
|
preferredBackground: "osmbasedmap" | "photo" | "historicphoto" | "map" | string
|
||||||
}
|
}
|
||||||
}[],
|
}[],
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,7 @@ export default class GeoLocationHandler extends VariableUiElement {
|
||||||
});
|
});
|
||||||
|
|
||||||
this.onClick(() => {
|
this.onClick(() => {
|
||||||
if (self._isActive.data) {
|
if (self._hasLocation.data) {
|
||||||
self._isLocked.setData(!self._isLocked.data);
|
self._isLocked.setData(!self._isLocked.data);
|
||||||
}
|
}
|
||||||
self.init(true);
|
self.init(true);
|
||||||
|
|
Loading…
Reference in a new issue