Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IGeocoder

An interface implemented to respond to geocoding queries

Hierarchy

  • IGeocoder

Implemented by

Index

Methods

geocode

  • Performs a geocoding query and returns the results to the callback in the provided context

    Parameters

    • query: string

      the query

    • cb: GeocodingCallback

      the callback function

    • Optional context: any

      the this context in the callback

    Returns void

Optional reverse

  • reverse(location: LatLngLiteral, scale: number, cb: GeocodingCallback, context?: any): void
  • Performs a reverse geocoding query and returns the results to the callback in the provided context

    Parameters

    • location: LatLngLiteral

      the coordinate to reverse geocode

    • scale: number

      the map scale possibly used for reverse geocoding

    • cb: GeocodingCallback

      the callback function

    • Optional context: any

      the this context in the callback

    Returns void

Optional suggest

  • Performs a geocoding query suggestion (this happens while typing) and returns the results to the callback in the provided context

    Parameters

    • query: string

      the query

    • cb: GeocodingCallback

      the callback function

    • Optional context: any

      the this context in the callback

    Returns void

Generated using TypeDoc