getLabel method
- Route route
Get route label text.
Parameters
- IN route The route whose label should be retrieved.
Returns
- The actual label
Implementation
String getLabel(final Route route) {
final OperationResult resultString = objectMethod(
pointerId,
'MapViewRouteCollection',
'getLabel',
args: route.pointerId,
dependencyId: mapPointerId,
);
return resultString['result'];
}