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
All checks were successful
Publish Package / build-and-publish (push) Successful in 3s
This commit is contained in:
@@ -13,7 +13,7 @@ export class StationDataModule {
|
||||
* @param ln Longitude
|
||||
* @returns Geohash as string
|
||||
*/
|
||||
static generateGeohash(lt: number, ln: number): string {
|
||||
generateGeohash(lt: number, ln: number): string {
|
||||
return Geohash.encode(lt, ln, 6);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user