UNPKG

@enonic/mock-xp

Version:

Mock Enonic XP API JavaScript Library

14 lines (13 loc) 398 B
import type { GeoPoint as GeoPointInterface } from '@enonic-types/lib-value'; export declare class GeoPoint implements GeoPointInterface { readonly lat: number; readonly lon: number; constructor({ lat, lon }: { lat: number; lon: number; }); static fromString(v: string): GeoPoint; getLatitude(): number; getLongitude(): number; toString(): string; }