leaflet-control-geocoder
    Preparing search index...

    Class OpenLocationCode

    Implementation of the Plus codes (formerly OpenLocationCode) (requires open-location-code)

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    Methods

    • Performs a reverse geocoding query and returns the results as promise

      Parameters

      • location: LatLngLiteral

        the coordinate to reverse geocode

      • scale: number

        the map scale possibly used for reverse geocoding

      Returns Promise<{ bbox: LatLngBounds; center: LatLng; name: string }[]>