LineString Arrows
import 'ol/ol.css'; import Draw from 'ol/interaction/Draw'; import Map from 'ol/Map'; import Point from 'ol/geom/Point'; import View from 'ol/View'; import {Icon, Stroke, Style} from 'ol/style'; import {OSM, Vector as VectorSource} from 'ol/source'; import {Tile as TileLayer, Vector as VectorLayer} from 'ol/layer'; var raster = new TileLayer({ source: new OSM(), }); var
https://openlayers.org/en/latest/examples/line-arrows.html