Library API
    Preparing search index...

    Interface GeoConfig

    interface GeoConfig {
        city?: string;
        country?: string;
        elevation?: number;
        latitude?: number;
        longitude?: number;
        sphere?: GeoSphere;
        timezone?: string;
        readonly [key: string]: any;
        readonly [key: symbol]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • readonly [key: string]: any

      Custom or future string/number key property

    • readonly [key: symbol]: any

      Custom symbol key property

    Index
    city?: string

    City or locality name

    country?: string

    ISO country code (e.g. 'US', 'AU')

    elevation?: number

    Altitude / Elevation in meters above sea level

    latitude?: number

    Latitude coordinate in degrees (-90 to 90)

    longitude?: number

    Longitude coordinate in degrees (-180 to 180)

    sphere?: GeoSphere

    Inferred or explicit hemisphere ('north' | 'south' | 'equator')

    timezone?: string

    IANA Time Zone ID (e.g. 'Australia/Sydney')