Adjust generateGeohash from static to standard method to support singleton approach in Svelte without additonal import/exports
All checks were successful
Publish Package / build-and-publish (push) Successful in 3s

This commit is contained in:
2026-03-30 22:57:57 +01:00
parent 26886f8a7d
commit d10dabf604

View File

@@ -13,7 +13,7 @@ export class StationDataModule {
* @param ln Longitude * @param ln Longitude
* @returns Geohash as string * @returns Geohash as string
*/ */
static generateGeohash(lt: number, ln: number): string { generateGeohash(lt: number, ln: number): string {
return Geohash.encode(lt, ln, 6); return Geohash.encode(lt, ln, 6);
} }