openlayers 3 : draw arrow on multi line
问题 I'd like to know if it's possible to draw an arrow icon on a MultiLineString My aim is to show multiline with an arrow on every line of the multiLine. I have seen some examples on the web, but those are always with a single line. Do you know if it's possible to do it with a multiLineString? 回答1: Yes, it is possible. var styleFunction = function(feature) { var geometry = feature.getGeometry(); var styles = [ // linestring new ol.style.Style({ stroke: new ol.style.Stroke({ color: '#ffcc33',