Class: TravelResponse

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

TravelResponse

Represents a travel-related response.

Constructor

new TravelResponse()

Properties:
Name Type Description
layerIx Number The corresponding layer's index
origin String CSV lat,lng
destinations Array Array of CSV lat,lng's
rawTravelTimes Array Unformatted numeric values
formattedTravelTimes Array Formatted based on the Unit System used
rawDistances Array Unformatted numeric values
formattedDistances Array Formatted based on the Unit System used
Version:
  • 1.5.00