using JxMaps (Java Swing) I draw a polyline. This works fine. Now I'd like to add arrwos to the lines. Anyone having an idea whats wrong with my code?
...
Symbol icon = new Symbol();
icon.setPath("google.maps.SymbolPath.FORWARD_CLOSED_ARROW");
IconSequence iconSequence = new IconSequence();
iconSequence.setIcon(icon);
iconSequence.setOffset("100%");
options.setIcons(new IconSequence[]{iconSequence});
// Applying ALL options to the polyline
polyline.setOptions(options);
No Arrows appear
If I look at the Google Maps API, it looks very similiar:
// var lineSymbol = {
// path: google.maps.SymbolPath.FORWARD_CLOSED_ARROW
//
// new google.maps.Polyline({
//icons: [{
// icon: lineSymbol,
// offset: '100%'
//}],
Thanks