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