{"action":"created","issue":{"url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/413","labels_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/413/labels{/name}","comments_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/413/comments","events_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/413/events","html_url":"https://github.com/allenhwkim/angularjs-google-maps/issues/413","id":119589291,"number":413,"title":"Attributes of ng-map are not being evaluated ","user":{"login":"harm-less","id":6368074,"avatar_url":"https://avatars.githubusercontent.com/u/6368074?v=3","gravatar_id":"","url":"https://api.github.com/users/harm-less","html_url":"https://github.com/harm-less","followers_url":"https://api.github.com/users/harm-less/followers","following_url":"https://api.github.com/users/harm-less/following{/other_user}","gists_url":"https://api.github.com/users/harm-less/gists{/gist_id}","starred_url":"https://api.github.com/users/harm-less/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harm-less/subscriptions","organizations_url":"https://api.github.com/users/harm-less/orgs","repos_url":"https://api.github.com/users/harm-less/repos","events_url":"https://api.github.com/users/harm-less/events{/privacy}","received_events_url":"https://api.github.com/users/harm-less/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-30T21:53:53Z","updated_at":"2015-12-08T16:34:42Z","closed_at":"2015-12-08T02:39:19Z","body":"Im not sure if I'm correct, but it doesn't seem the zoom (and others?) is being evaluated properly if at all.\r\nNext to the `ng-map` directive I'm using `zoom` and a few others. This is a dynamic value like this: `zoom=\"{{location.map.zoom != 0 ? location.map.zoom : 12}}\"` but then a console error occurs: `InvalidValueError: setZoom: not a number`.\r\n\r\nWhen I pause the code right before the options are being given to the GM API like this `vm.map.setOptions(mapOptions);` in the `initializeMap` method the object looks like this:\r\n```javascript\r\napOptions: Object\r\ncenter: _.K\r\ndefaultStyle: true\r\nminZoom: 8\r\nstreetViewControl: false\r\nstyles: Array[19]\r\nzoom: \"{{location.map.zoom != 0 ? location.map.zoom : 12}}\"\r\n__proto__: Object\r\n```\r\nSo it seems the attributes (at least the `zoom`) are not being evaluated but I think they should be, am I right about this?"},"comment":{"url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/comments/162938069","html_url":"https://github.com/allenhwkim/angularjs-google-maps/issues/413#issuecomment-162938069","issue_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/413","id":162938069,"user":{"login":"piotrd","id":176665,"avatar_url":"https://avatars.githubusercontent.com/u/176665?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrd","html_url":"https://github.com/piotrd","followers_url":"https://api.github.com/users/piotrd/followers","following_url":"https://api.github.com/users/piotrd/following{/other_user}","gists_url":"https://api.github.com/users/piotrd/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrd/subscriptions","organizations_url":"https://api.github.com/users/piotrd/orgs","repos_url":"https://api.github.com/users/piotrd/repos","events_url":"https://api.github.com/users/piotrd/events{/privacy}","received_events_url":"https://api.github.com/users/piotrd/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T16:34:42Z","updated_at":"2015-12-08T16:34:42Z","body":"I have just upgraded to version 1.15.1 and am experiencing this error. The stacktrace is as follows:\r\n\r\n```\r\nInvalidValueError: setZoom: not a number\r\n_.bb @ js?callback=lazyLoadCallback:33\r\n_.Eb @ js?callback=lazyLoadCallback:37\r\n(anonymous function) @ js?callback=lazyLoadCallback:47\r\n_.m.setValues @ js?callback=lazyLoadCallback:89\r\nvm.initializeMap @ ng-map.js:173\r\n__MapController @ ng-map.js:223\r\ninvoke @ angular.js:4219\r\nextend.instance @ angular.js:8525\r\n(anonymous function) @ angular.js:7771\r\nforEach @ angular.js:334\r\nnodeLinkFn @ angular.js:7770\r\ncompositeLinkFn @ angular.js:7149\r\npublicLinkFn @ angular.js:7028\r\n(anonymous function) @ ng-map.js:1311\r\n(anonymous function) @ angular.js:16380\r\ncompleteOutstandingRequest @ angular.js:4940\r\n(anonymous function) @ angular.js:5328\r\n```\r\n\r\nIs it a regression or the issue hasn't been fixed entirely?"}}