This addon extends ember-leaflet's <layers.marker>
component to support rotation.
This uses this leaflet extension to accomplish that. Doesn't work on IE < 9.
Argument | Type | Default | Description |
---|---|---|---|
@rotationAngle |
Number |
0 | Rotation angle, in degrees, clockwise. |
@rotationOrigin |
String |
'bottom center' |
The rotation center, as a transform-origin CSS rule. |
Run:
ember install ember-leaflet-rotated-marker
- Ember.js v3.16 or above
- Ember CLI v2.13 or above
- Node.js v10 or above
ember server
- Visit your app at http://localhost:4200.
npm test
(Runsember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.
See the Contributing guide for details.
This project is licensed under the MIT License.