Millwork
    Preparing search index...

    Interface LatLngOptions

    Options of the latlng codec.

    interface LatLngOptions {
        order?: "latlng" | "lnglat";
        wire?: "string" | "object" | "long-object" | "tuple";
    }
    Index
    order?: "latlng" | "lnglat"

    The order in a tuple or a string. The default is 'latlng'. GeoJSON uses 'lnglat'.

    wire?: "string" | "object" | "long-object" | "tuple"

    The wire form on serialize. The default is 'object' ({ lat, lng }). 'long-object' is { latitude, longitude }. All forms are read, whatever this option is.