Private constructorPrivate
Creates an instance of MPDirectionsRendererOptions.
Optional strokeColor: stringOptional strokeOpacity: numberOptional strokeWeight: numberOptional strokeStyle: MPStrokeStyleOptional backgroundColorEnabled: booleanOptional backgroundColor: stringOptional backgroundColorOpacity: numberOptional backgroundColorWeight: numberOptional animationType: MPRouteAnimationTypeOptional animationSpeed: numberOptional animationMinDuration: numberOptional animationRepeating: booleanOptional forceAnimation: booleanOptional animatedOverlayColor: stringOptional animatedOverlayOpacity: numberOptional animatedOverlayWeight: numberOptional stampType: MPRouteStampTypeOptional stampImageUrl: stringOptional stampSpacing: numberOptional stampScale: numberOptional arrowStyle: MPRouteArrowStyleOptional stampColor: stringOptional startDisplayRule: MPRouteMarkerDisplayRuleOptional endDisplayRule: MPRouteMarkerDisplayRuleOptional legBoundaryIcons: MPLegBoundaryIconsOptional elevated: booleanOptional elevationHeight: numberOptional fitBoundsMaxZoom: numberOptional Readonly animatedOptional Readonly animatedOptional Readonly animatedOptional Readonly animationOptional Readonly animationOptional Readonly animationOptional Readonly animationOptional Readonly arrowOptional Readonly backgroundOptional Readonly backgroundOptional Readonly backgroundOptional Readonly backgroundOptional Readonly elevatedOptional Readonly elevationOptional Readonly endOptional Readonly fitOptional Readonly forceOptional Readonly legOptional Readonly stampOptional Readonly stampOptional Readonly stampOptional Readonly stampOptional Readonly stampOptional Readonly startOptional Readonly strokeOptional Readonly strokeOptional Readonly strokeOptional Readonly strokeStatic createCreator for MPDirectionsRendererOptions, also used to decode JSON from the MapsIndoors SDK.
Generated using TypeDoc
The styling and camera options for a route rendered by MPDirectionsRenderer.
Applied with setOptions, which restyles an already rendered route in place.
Every property is optional and resolves on its own, in this order: the value set here, then the solution level default configured in the CMS, then the SDK's built-in default. An omitted property is therefore inherited rather than reset, so only the properties to override need to be given. Applying a fresh set of options clears all previous overrides.
Export