Class: GeocodeResponse

Portal Home

CMaps Analytics Online Portal

Javascript API Docs

How to Use CMaps API

Working with Data

Working with Layers

Including Custom Components

View API Docs

Request Access

Developer Resources

Developers Introduction to CMaps Designer

Strategies for Integrating CMaps Analytics

Embed and Connect CMaps Templates in HTML5 App

Creating custom CMaps Analytics Plugin & Property Sheet

Security Guide

GeocodeResponse

A GeocodeResponse represents a geocode and/or reverse geocode attempt's results.

Constructor

new GeocodeResponse()

Properties:
Name Type Description
adddressForGeocoding String The address to be geocoded
locationForReverseGeocoding Object locationForReverseGeocoding
locationFromAddress Object The centigon.mapping.Location associated with a successful geocode request
reverseGeocodeAddressParts Array An array of address parts returned from a successful reverse geocode request
Version:
  • 1.5.00

Methods

clone() → {Object}

Clones instance
Returns:
Type
Object

lastGeocodeRequestWasFailure() → {Boolean}

Checks if most recent response was not successful
Returns:
Type
Boolean

lastGeocodeRequestWasSuccessful() → {Boolean}

Checks if most recent response was successful
Returns:
Type
Boolean