Wrapper library of leaflet-iiif for use with ember-leaflet
npm install ember-leaflet-iiif-tile-layerember install ember-leafletember install ember-leaflet-iiif-tile-layer
#### Template
``htmlbars`
{{#leaflet-map lat=0 lng=0 zoom=0 crs=crs}}
{{iiif-tile-layer url="https://example.com/image/info.json"}}
{{/leaflet-map}}
#### Controller
`javascript`
export default Ember.Controller.extend({
crs: L.CRS.Simple
});L.CRS.Simple
If the map CRS is not set to you will have a bad time and wonder why nothing works.
See Leaflet-iiif
#### Example
{{iiif-tile-layer url="https://example.com/image/info.json" fitBounds=false}}
* ember serve
* Visit your app at http://localhost:4200.
* npm test (Runs ember try:each to test your addon against multiple Ember versions)ember test
* ember test --server
*
* ember build`
For more information on using ember-cli, visit https://ember-cli.com/.