gabesmed / ember-leaflet

Ember + Leaflet = Fun with maps
gabesmed.github.io/ember-leaflet
MIT License
164 stars 35 forks source link

MultiPolyline derived plugin #104

Closed odix67 closed 9 years ago

odix67 commented 9 years ago

Hi,

is there a possibility to use a MultiPolyLine derived plugin, like Leaflet.Geodesic with EmberLeaflet ?

BR odi

miguelcobain commented 9 years ago

Currently not easy. If we had a MultiPolyline implementation, you would only need to extend it and override newLayer to create L.geodesic layer. You best bet currently is to subclass EmberLeaflet.Layer, implement newLayer and create it yourself.

odix67 commented 9 years ago

ok, thanks for the tip