This addon extends ember-leaflet 2.0. It extends the {{tile-layer}}
component to support tiles caching.
It uses this leaflet extension to accomplish that.
tileOptions: {
type: 'map',
subdomains: '1234',
ext: 'png',
attribution: 'Map data © <a href="http://osm.org/copyright" target="_blank">OpenStreetMap</a> contributors',
useCache: true // this enables tiles caching
}
Run:
ember install ember-leaflet-tiles-cache
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://ember-cli.com/.