I'm using Highmaps and new topojson file to create a map with visualization of flight routes. It's working well, see demo here : https://jsfiddle.net/vegaelce/L2ogczjh/ Now I need to add arrows on the maplines to indicate the way (city from -> city to). This arrow should be in the middle of the line (or just before the arrival mappoint).
I tried to use the following snippet seen in an post without success :
events: {
load: function () {
this.renderer
.definition({
tagName: 'marker',
id: 'markerArrow',
refY: 5,
refX: 9,
markerWidth: 11,
markerHeight: 11,
orient: 'auto',
children: [{
tagName: 'path',
d: 'M 0 0 L 10 5 L 0 10 Z',
fill: Highcharts.getOptions().colors[3],
'stroke-width': 1,
stroke: '#000000'
}]
});
}
}
Can you help me to do that please ?