gabesmed / ember-leaflet

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

Support for controls #49

Closed miguelcobain closed 10 years ago

miguelcobain commented 10 years ago

This is somewhat related with #47.

What do you guys think about adding support for controls just like we do with childLayers?

The idea is to have a controls array in MapView. Adding an instance of EmberLeaflet.Control to this array should add the control to the map.

Would it be worth it? Not quite sure about the benefits of this, but I think it would make easier to integrate some controls logic with ember objects and application in general.

gabesmed commented 10 years ago

See answer in #47. Like the idea; no need myself to implement and would rather focus on core features at the moment. But welcome PRs!