angular-ui/angular-google-maps

SetStyle not working

capesean opened this issue · 1 comments

On these lines:
https://github.com/allenhwkim/angularjs-google-maps/blob/master/build/scripts/ng-map.js#L1488-L1492

The value of val is vm.setStyle, which should be the function on the view model, but it is being set as a string, 'vm.setStyle'. So the function doesn't ever get called.

Version

1.18.4

Test Case

https://plnkr.co/edit/P7yv0gkrbTFeYWbRbWs8?p=preview

Sorry, wrong repo!