angular-google-maps
angular-google-maps copied to clipboard
Polygons properties names not being used
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.