setConfig

Applies a directions renderer route-styling config at runtime. The runtime config takes precedence over the solution-served config — field by field for line and halo, and whole-block for every other section. If a route is already displayed it is re-styled in place.

Parameters

config

the MPDirectionsRendererConfig to apply, or null to fall back to the solution config