Interface

RouteAnimationOptions

mapsindoors.directions.RouteAnimationOptions

Properties:
Name Type Attributes Default Description
speed number <optional>
300

Speed of the animation in m

minAnimationTime number <optional>
1.2

The minimum time in seconds it takes to complete the animation.

strokeColor string <optional>
'hsl(215, 67%, 96%)'

Sets the color for the animated polyline. The color property is specified a CSS color value. See https://developer.mozilla.org/en-US/docs/Web/CSS/color_value

strokeOpacity number <optional>
1

Sets the opacity of the animated polyline. The opacity property is specified as a value between 0 and 1. See https://developer.mozilla.org/en-US/docs/Web/CSS/opacity

strokeWeight number <optional>
2

Sets the weight of the animated polyline in pixels.