getRouteConnections static method

MarkerCollection getRouteConnections(
  1. Route route
)

Retrieve connections for a given route as markers.

Parameters:

  • IN route The route for which connections are to be retrieved.

Returns

  • A collection of markers representing the connections of the route.

Throws

  • An exception if it fails.

Implementation

static MarkerCollection getRouteConnections(Route route) {
  final OperationResult resultString = staticMethod(
    'Debug',
    'getRouteConnections',
    args: route.pointerId,
  );

  return MarkerCollection.init(resultString['result'], 0);
}