getRenderSettings method
- Route route
Get the route custom render settings(read-only)
Parameters
- IN route route The route for which the render settings are requested
Returns
- RouteRenderSettings object if the route is in the collection, null otherwise.
Throws
- An exception if it fails.
Implementation
RouteRenderSettings? getRenderSettings(final Route route) {
final OperationResult resultString = objectMethod(
pointerId,
'MapViewRouteCollection',
'getRenderSettings',
args: route.pointerId,
);
if (resultString['gemApiError'] == -15) {
return null;
}
return RouteRenderSettings.fromJson(resultString['result']);
}