TransitObjectResult interface

An interface representing TransitObjectResult.

Properties

id

The object identifier found as a result of the query, for example, stopId for stops.

objectDetails

The object specific details.

position

The transit object's position.

type

The type of object found as a result of the query.

viewport

Property Details

id

The object identifier found as a result of the query, for example, stopId for stops.

id?: string

Property Value

string

objectDetails

The object specific details.

objectDetails?: any

Property Value

any

position

The transit object's position.

position?: Coordinate

Property Value

type

The type of object found as a result of the query.

type?: string

Property Value

string

viewport

viewport?: ResultViewport

Property Value