Class: Geoclient

nyc/Geoclient~ Geoclient


new Geoclient(options)

A class for geocoding using the New York City Geoclient API

Parameters:
Name Type Description
options module:nyc/Geoclient~Geoclient.Options

Constructor options

Source:
See:
Fires:

Extends

Members


projection :string

The epsg code

Type:
  • string
Source:

Methods


Search for a location

Parameters:
Name Type Description
input string
Inherited From:
Overrides:
Source:

Type Definitions


Options

Constructor options for module:nyc/Geoclient~Geoclient

Type:
  • Object
Properties:
Name Type Argument Default Description
url string

The URL for accessing the Geoclient API https://developer.cityofnewyork.us/api/geoclient-api

projection string <optional>
EPSG:3857

The EPSG code of the projection for output geometries (i.e. EPSG:2263)

Source: