Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Geocoder

Geocoder interface represents methods used for geocoding and reverse-geocoding addresses.

Hierarchy

  • Geocoder

Implemented by

Index

Properties

featureType

featureType: FeatureTypeDetails

Property featuretype FeatureTypeDetails of return.

geocoderUrl

geocoderUrl: string

Property geocoderUrl is the address to submit address to location queries.

reverseGeocoderUrl

reverseGeocoderUrl: string

Property reverseGeocoderUrl is the address to submit point geometry to address info queries.

Methods

GetAddressLocations

  • Parameters

    Returns Promise<Location[]>

  • Get locations from geocoder from address data in the geocoder options

    Parameters

    Returns Promise<Location[]>

    a Q.Promise of an array of Location

  • Parameters

    • options: GeocoderOptions

    Returns Promise<Location[]>

GetLocationAddress

  • Parameters

    Returns Promise<Feature>

  • Get a feature from the geocoder from point geometry data in the geocoder options

    Parameters

    Returns Promise<Feature>

    a Q.Promise of an array of Feature

  • Parameters

    • options: GeocoderOptions

    Returns Promise<Feature>