Skip to content

install correct version #2

Description

@miguelcobain

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions