An Ember-CLI addon for using the Leaflet Polyline Decorator plugin in Ember Leaflet.
ember install ember-leaflet-polyline-decorator
See CHANGELOG for the list of all changes.
polylineLocations: [
L.latLng(latitude,longitude),
L.latLng(latitude,longitude),
L.latLng(latitude,longitude)
],
polylinePatterns: [
{offset: 0, repeat: 50, symbol: L.Symbol.arrowHead({pixelSize: 15, headAngle: 30, pathOptions: {stroke: false, fillOpacity:1.0, weight:1, color:'red'}})}
]
or
For more comprehensive examples and usage, see the Leaflet Polyline Decorator plugin