we should detect what leaflet version is being used at the moment and install the correct version here: https://github.com/pavloo/ember-leaflet-tiles-cache/blob/master/blueprints/ember-leaflet-tiles-cache/index.js#L14
Here is an example of such a check: https://github.com/miguelcobain/ember-leaflet-google-tile-layer/blob/master/index.js#L8-L12
I did it in the included hook, but you can also do it in the blueprint afaik.
Afaik, 0.1.0 is compatible with leaflet 0.7.7 and 0.2.0 is compatible with leaflet 1 (At least looking at their docs and README, it looks like it).
we should detect what leaflet version is being used at the moment and install the correct version here: https://github.com/pavloo/ember-leaflet-tiles-cache/blob/master/blueprints/ember-leaflet-tiles-cache/index.js#L14
Here is an example of such a check: https://github.com/miguelcobain/ember-leaflet-google-tile-layer/blob/master/index.js#L8-L12
I did it in the
includedhook, but you can also do it in the blueprint afaik.Afaik, 0.1.0 is compatible with leaflet 0.7.7 and 0.2.0 is compatible with leaflet 1 (At least looking at their docs and README, it looks like it).