Docs: update docs

This commit is contained in:
Pieter Vander Vennet 2023-10-19 16:32:42 +02:00
parent f2e3173eeb
commit 2a0e194c20
2 changed files with 9 additions and 5 deletions

View file

@ -17,5 +17,9 @@ export interface MapProperties {
}
export interface ExportableMap {
exportAsPng(dpiFactor: number): Promise<Blob>
/**
* Export the current map as PNG.
* @param markerScale: if given, the markers will be 'markerScale' bigger. This is to use in combination with a supersized canvas to have more pixels and achieve print quality
*/
exportAsPng(markerScale?: number): Promise<Blob>
}