new Geoclient(url, projectionopt)
A class for geocoding using the New York City Geoclient API
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
url |
string | The URL for accessing the Geoclient API | |
projection |
string |
<optional> |
The EPSG code of the projection for output geometries (i.e. EPSG:2263) |
- Implements:
- Source:
- See:
Fires:
Methods
search(input)
Geocode an input string representing a location
Parameters:
| Name | Type | Description |
|---|---|---|
input |
string | The value to geocode |
- Implements:
- Source: