angular-google-maps icon indicating copy to clipboard operation
angular-google-maps copied to clipboard

Polygons properties names not being used

Open gfpacheco opened this issue 8 years ago • 0 comments

Version

2.4.0

Test Case

http://jsbin.com/xelatibehe/edit?html,js,output

Steps to reproduce

Add a ui-gmap-polygons directive and try setting the draggable attribute to any property from your model other than "draggable", lets use draggable="'foo'".

Expected Behavior

The directive should use the foo property to know if the polygon is draggable or not.

Actual Behavior

The directive still looks for the draggable property to know if it should be draggable.

PS: the only properties I tried were: draggable and editable. Not sure if happening with others.

gfpacheco avatar Oct 29 '16 21:10 gfpacheco