paths property

MapViewPathCollection get paths

Get access to the collection of visible paths.

Returns

  • The paths collection

Throws

  • An exception if it fails.

Implementation

MapViewPathCollection get paths {
  if (_paths == null) {
    final OperationResult resultString = objectMethod(
      _pointerId,
      'MapViewPreferences',
      'paths',
    );

    _paths = MapViewPathCollection.init(resultString['result'], _mapId);
  }
  return _paths!;
}