MapArrow constructor
- GeoPolyline geometry,
- double widthInPixels,
- Color color
Creates a new MapArrow instance.
Altitude component of GeoPolyline's vertices is ignored.
-
geometryThe geometry of the arrow tail. The last coordinate in the list defines the position where the head of the arrow is located. -
widthInPixelsThe width of the arrow tail in pixel. Negative values are clamped to 0. The tip is scaled accordingly. -
colorThe color of the arrow. The alpha channel is ignored, the color is interpreted as fully opaque.
Implementation
factory MapArrow(GeoPolyline geometry, double widthInPixels, ui.Color color) => $prototype.$init(geometry, widthInPixels, color);