Optional routeStyle: TRouteStyleOptionsRoute path from RouteService.search response.
Coordinate([lng, lat]) array of markers, order from beginning to end.
Render route on the map.
The color type is a color in the sRGB color space. Formats: HTML-style hex values, RGB, RGBA, HSL, and HSLA. Predefined HTML colors names, like yellow and blue, are also permitted.
Use 'setStyle' instead.
Set color of shuttle bus line.
The color type is a color in the sRGB color space. Formats: HTML-style hex values, RGB, RGBA, HSL, and HSLA. Predefined HTML colors names, like yellow and blue, are also permitted.
Use 'setStyle' instead.
Set color of dashed lines which connected the start and end markers.
The color type is a color in the sRGB color space. Formats: HTML-style hex values, RGB, RGBA, HSL, and HSLA. Predefined HTML colors names, like yellow and blue, are also permitted.
Use 'setStyle' instead.
Set the route color of the indoor part.
{Array<string | null> | {from?: string | null; to?: string | null; stops?: Array<string | null> | null;}} Array of sprite names or URLs, or the object with specifying icon. Markers use images in order of icons array. First is as from-marker, last is as to-marker, the middles are as stop-markers. If icons array has only one element, all stop markers use this image. Image file must be in png, webp, or jpg format. Null means none image.
Use 'setStyle' instead.
Set image[s] of the stop marker[s].
The color type is a color in the sRGB color space. Formats: HTML-style hex values, RGB, RGBA, HSL, and HSLA. Predefined HTML colors names, like yellow and blue, are also permitted.
Use 'setStyle' instead.
Set the route color of the outdoor part.
Description
Remove route from the map.