Class: Coords

bu.geocoding. Coords

A geocoding provider using coordinates. This provider do not does nothing with the data apart from reproject.


new Coords( [opt_options])

Parameters:
Name Type Argument Description
opt_options bu.geocoding.CoordsOptions <optional>

Options.

Source:
bu/geocoding/coords.js

Extends

Methods


formatAddress(address)

Formats a geocoding address in HTML.

Parameters:
Name Type Description
address bu.geocoding.Address

Geocoding address.

Inherited From:
Source:
bu/geocoding/provider.js
Returns:
Type
string

formatLocation(lonlat, projected, projection)

Formats a geocoding location in HTML.

Parameters:
Name Type Description
lonlat bu.Coordinate

Geocoding location in EPSG:4326.

projected bu.Coordinate

Geocoding location in viewer projection.

projection string

Name or code for viewer projection.

Inherited From:
Source:
bu/geocoding/provider.js
Returns:
Type
string

getProviderType()

Returns the provider type.

Inherited From:
Overrides:
Source:
bu/geocoding/provider.js
Returns:
Type
bu.geocoding.ProviderType

Execute a request to the provider service service.

Parameters:
Name Type Description
query string

The query string.

load function

Function to execute if response is loaded.

error function

Function to execute if response has an error.

Inherited From:
Overrides:
Source:
bu/geocoding/provider.js

updateLanguage()

Updates the geocoding provider for the current language in the bu.Globalization singleton.

Inherited From:
Source:
bu/geocoding/provider.js