Route 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.
Set color of dashed lines which connected the start and end markers.
{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.
Set image[s] of the stop marker[s].
Description
Remove route from the map.