Skip to content

Techn1x/ember-leaflet-polyline-decorator

 
 

Repository files navigation

Ember-leaflet-polyline-decorator

npm version

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

{{polyline-decorator latlngs=polylineLocations patterns=polylinePatterns}}
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'}})}
]

For more comprehensive examples and usage, see the Leaflet Polyline Decorator plugin

About

Ember Leaflet Addon for L.PolylineDecorator

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 83.9%
  • HTML 16.1%