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

marker attribute nolonger works #220

Closed circlingthesun closed 9 years ago

circlingthesun commented 10 years ago

The 'marker' attribute has no effect in the latest release. Only the markers attribute works.

tombatossals commented 10 years ago

Yess, to unify the attributes names we decided to deprecate the "marker" atrribute. You can get the same functionality with "markers". Take a look on this code to see an example:

http://tombatossals.github.io/angular-leaflet-directive/examples/marker-example.html

circlingthesun commented 10 years ago

Okay, thanks. It's still being copied into the isolated scope on line 11 of directives/leaflet.js. Maybe remove that?

tombatossals commented 10 years ago

Ups, totally right. Thanks for reporting.

nmccready commented 9 years ago

No longer valid.