tombatossals / angular-leaflet-directive

AngularJS directive to embed an interact with maps managed by Leaflet library
http://tombatossals.github.io/angular-leaflet-directive
MIT License
1.5k stars 635 forks source link

Adding markers with ng-repeat #802

Closed mahmoudmy closed 9 years ago

mahmoudmy commented 9 years ago

In angular-openlayers-directive, the marker directive uses a restrict: 'E' that allows using ng-repeat on it for easy manipulation on marker style and overlays. Why isn't that useful property here?

cyrilchapon commented 9 years ago

Already discussed from here. The conclusion is here. In resume, the strategy in angular-leaflet-directive was chosen as opposite of angular-openlayers-directive, for performance purpose, over conciseness.