Ember-leaflet-polyline-decorator
An Ember-CLI addon for using the Leaflet Polyline Decorator plugin in Ember Leaflet.
Installation
ember install ember-leaflet-polyline-decorator
Updates
See CHANGELOG for the list of all changes.
Basic Usage
polylineLocations: L L LpolylinePatterns: offset: 0 repeat: 50 symbol: LSymbol
{{polyline-decorator latlngs=polylineLocations patterns=polylinePatterns}}
or
<LeafletMap @zoom={{10}} @center={{latlng}} @maxZoom={{25}} as |layers|> <layers.polyline @locations={{polylineLocations}} /> <layers.polyline-decorator @latlngs={{polylineLocations}} @patterns={{patterns}} /> </LeafletMap>
For more comprehensive examples and usage, see the Leaflet Polyline Decorator plugin