Class: DirectionsResponse

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

DirectionsResponse

A DirectionsResponse represents the results needed to travel from an origin to destination(s).

Constructor

new DirectionsResponse()

Properties:
Name Type Description
layerIx Number The corresponding layer's index
origin String Travel Origin: CSV lat,lon
rawApiResponse Object The corresponding layer's index
destination String Travel Destination: CSV lat,lon
waypoints Array Array of CSV lat,lon
rawApiResponse Object The untouched response from the API
Version:
  • 4.1.00