More work on making flyers

This commit is contained in:
Pieter Vander Vennet 2022-09-12 20:14:03 +02:00
parent 9d753ec7c0
commit b9d5a1edff
8 changed files with 831 additions and 418 deletions

View file

@ -32,7 +32,7 @@ export default class LocationInput
public readonly leafletMap: UIEventSource<any>
public readonly bounds
public readonly location
private _centerLocation: UIEventSource<Loc>
private readonly _centerLocation: UIEventSource<Loc>
private readonly mapBackground: UIEventSource<BaseLayer>
/**
* The features to which the input should be snapped
@ -177,10 +177,6 @@ export default class LocationInput
this.map.installBounds(factor, showRange)
}
TakeScreenshot(): Promise<any> {
return this.map.TakeScreenshot()
}
protected InnerConstructElement(): HTMLElement {
try {
const self = this
@ -270,4 +266,8 @@ export default class LocationInput
.ConstructElement()
}
}
TakeScreenshot(): Promise<string> {
return this.map.TakeScreenshot()
}
}