ember-leaflet-fullscreen-control

Use leaflet.fullscreen in Ember with ember-leaflet.

Usage no npm install needed!

<script type="module">
  import emberLeafletFullscreenControl from 'https://cdn.skypack.dev/ember-leaflet-fullscreen-control';
</script>

README

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.