Fork me on GitHub
Show:

MapQuestGeocodeService

Summary

MapQuest Geocoding Service See http://open.mapquestapi.com/geocoding

Constructor

aeris.geocode.MapQuestGeocodeService

Syntax

aeris.geocode.MapQuestGeocodeService

(
  • opt_options
)

Summary

Parameters:

  • opt_options Object=
    • apiId String

      Mapquest apiId can alternatively be configured in 'aeris/geocode/config' via RequireJS config option.

Methods

createGeocodeResponse_

Syntax

createGeocodeResponse_

(
  • res
)
GeocodeServiceResponse private

Summary

Parameters:

createNoResultsError_

Syntax

createNoResultsError_

(
  • res
)
GeocodeServiceResponse private

Summary

Parameters:

createStatusCodeError_

Syntax

createStatusCodeError_

(
  • res
)
GeocodeServiceResponse private

Summary

Parameters:

createUnexpectedResultsError_

Syntax

createUnexpectedResultsError_

(
  • res
)
GeocodeServiceResponse private

Summary

Parameters:

ensureApiId_

Syntax

ensureApiId_

() private

Summary

geocode

Syntax

geocode

()

Summary

getMapQuestUri_

Syntax

getMapQuestUri_

() String private

Summary

Returns:

isNoResultsErrorResponse_

Syntax

isNoResultsErrorResponse_

(
  • res
)
Boolean private

Summary

Parameters:

Returns:

isStatusCodeErrorResponse_

Syntax

isStatusCodeErrorResponse_

(
  • res
)
Boolean private

Summary

Parameters:

Returns:

setJSONP

Syntax

setJSONP

(
  • jsonp
)

Summary

Set jsonp service

Parameters:

Properties

apiId_

Syntax

apiId_

| options.apiId private

Summary

The MapQuest API id.

jsonp_

Syntax

jsonp_

Object See {aeris.JSONP} for expected behavior. protected

Summary

JSONP service.

serviceUrl_

Syntax

serviceUrl_

String private

Summary

Base URL for MapQuest Geocoding service.