Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.25 KB

File metadata and controls

39 lines (24 loc) · 1.25 KB

npm version

ember-leaflet-fullscreen-control

Use leaflet.fullscreen in Ember with ember-leaflet to add a fullscreen button to your maps.

Installation

ember install ember-leaflet-fullscreen-control

Usage

<LeafletMap … as |layers|>
  {{!-- … --}}
  <layers.fullscreen-control />
</LeafletMap>

All leaflet.fullscreen options are supported (e.g. <layers.fullscreen-control @position="topleft" />). Have a look at the leaflet.fullscreen readme. The enter/exit fullscreen events are not supported, yet.

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.