Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Photon

Implementation of the Photon geocoder

Hierarchy

  • Photon

Implements

Index

Constructors

constructor

Methods

_decodeFeatureName

  • _decodeFeatureName(f: Feature): string

_decodeFeatures

geocode

reverse

  • reverse(latLng: LatLngLiteral, scale: number, cb: GeocodingCallback, context?: any): void

suggest

Object literals

options

options: object

nameProperties

nameProperties: string[] = ['name', 'street', 'suburb', 'hamlet', 'town', 'city', 'state', 'country']

reverseUrl

reverseUrl: string = "https://photon.komoot.io/reverse/"

serviceUrl

serviceUrl: string = "https://photon.komoot.io/api/"

Generated using TypeDoc