setOptions
Apply a set of style and behaviour options to the renderer.
This is the recommended way to configure the appearance of a rendered route, superseding the individual setters such as setPolylineColors and setAnimatedPolyline. If a route is already displayed, the options are applied immediately and the route is re-styled in place.
Parameters
options
the MPDirectionsRendererOptions to apply