{"action":"created","issue":{"url":"https://api.github.com/repos/xkjyeah/vue-google-maps/issues/5","repository_url":"https://api.github.com/repos/xkjyeah/vue-google-maps","labels_url":"https://api.github.com/repos/xkjyeah/vue-google-maps/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/xkjyeah/vue-google-maps/issues/5/comments","events_url":"https://api.github.com/repos/xkjyeah/vue-google-maps/issues/5/events","html_url":"https://github.com/xkjyeah/vue-google-maps/issues/5","id":191749492,"number":5,"title":"Marker Component: Right-hand side of 'instanceof' is not an object","user":{"login":"ghprod","id":1922652,"avatar_url":"https://avatars.githubusercontent.com/u/1922652?v=3","gravatar_id":"","url":"https://api.github.com/users/ghprod","html_url":"https://github.com/ghprod","followers_url":"https://api.github.com/users/ghprod/followers","following_url":"https://api.github.com/users/ghprod/following{/other_user}","gists_url":"https://api.github.com/users/ghprod/gists{/gist_id}","starred_url":"https://api.github.com/users/ghprod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghprod/subscriptions","organizations_url":"https://api.github.com/users/ghprod/orgs","repos_url":"https://api.github.com/users/ghprod/repos","events_url":"https://api.github.com/users/ghprod/events{/privacy}","received_events_url":"https://api.github.com/users/ghprod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-25T18:07:22Z","updated_at":"2016-11-26T03:14:52Z","closed_at":null,"body":"Hi.\r\n\r\nMarker Component is broken, this is my html\r\n\r\n```html\r\n<body>\r\n  <div id=\"root\">\r\n    <div style=\"width: 100%; height: 500px\">\r\n      <google-map\r\n        :center=\"center\"\r\n        :zoom=\"7\"\r\n      >\r\n        <google-marker\r\n          v-for=\"m in markers\"\r\n          :position=\"m.position\"\r\n          :clickable=\"true\"\r\n          :draggable=\"true\"\r\n          @click=\"center=m.position\"\r\n        ></google-marker>\r\n      </google-map>\r\n    </div>\r\n  </div>\r\n\r\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/vue/2.0.3/vue.js\"></script>\r\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.16.4/lodash.js\"></script>\r\n<script src=\"https://unpkg.com/vue2-google-maps@0.4.0/dist/vue-google-maps.js\"></script>\r\n\r\n<script>\r\n\r\nVue.use(VueGoogleMap, {\r\n  load: {\r\n    key: 'AIzaSyBzlLYISGjL_ovJwAehh6ydhB56fCCpPQw'\r\n  },\r\n  // Demonstrating how we can customize the name of the components\r\n  installComponents: false,\r\n});\r\n\r\ndocument.addEventListener('DOMContentLoaded', function() {\r\n    Vue.component('google-map', VueGoogleMap.Map);\r\n    Vue.component('google-marker', VueGoogleMap.Marker);\r\n\r\n    new Vue({\r\n        el: '#root',\r\n        data: {\r\n          center: {lat: 10.0, lng: 10.0},\r\n          markers: [{\r\n            position: {lat: 10.0, lng: 10.0}\r\n          }, {\r\n            position: {lat: 11.0, lng: 11.0}\r\n          }]\r\n        },\r\n    });\r\n});\r\n\r\n</script>\r\n\r\n</body>\r\n```\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/xkjyeah/vue-google-maps/issues/comments/263041288","html_url":"https://github.com/xkjyeah/vue-google-maps/issues/5#issuecomment-263041288","issue_url":"https://api.github.com/repos/xkjyeah/vue-google-maps/issues/5","id":263041288,"user":{"login":"ghprod","id":1922652,"avatar_url":"https://avatars.githubusercontent.com/u/1922652?v=3","gravatar_id":"","url":"https://api.github.com/users/ghprod","html_url":"https://github.com/ghprod","followers_url":"https://api.github.com/users/ghprod/followers","following_url":"https://api.github.com/users/ghprod/following{/other_user}","gists_url":"https://api.github.com/users/ghprod/gists{/gist_id}","starred_url":"https://api.github.com/users/ghprod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghprod/subscriptions","organizations_url":"https://api.github.com/users/ghprod/orgs","repos_url":"https://api.github.com/users/ghprod/repos","events_url":"https://api.github.com/users/ghprod/events{/privacy}","received_events_url":"https://api.github.com/users/ghprod/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T03:14:51Z","updated_at":"2016-11-26T03:14:51Z","body":"Yes, its working now .. also i can get event from draggable marker\r\n\r\n```html\r\n<body>\r\n  <div id=\"root\">\r\n    <div v-for=\"m in markers\">{{ m.position }}</div>\r\n    <div style=\"width: 100%; height: 500px\">\r\n      <gmap-map\r\n        :center=\"center\"\r\n        :zoom=\"7\"\r\n      >\r\n        <gmap-marker\r\n          v-for=\"m in markers\"\r\n          :position=\"m.position\"\r\n          :clickable=\"true\"\r\n          :draggable=\"true\"\r\n          @click=\"center=m.position\"\r\n          @position_changed=\"m.position=$event\"\r\n        ></gmap-marker>\r\n      </gmap-map>\r\n    </div>\r\n  </div>\r\n\r\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/vue/2.0.3/vue.js\"></script>\r\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.16.4/lodash.js\"></script>\r\n<script src=\"https://unpkg.com/vue2-google-maps@0.4.0/dist/vue-google-maps.js\"></script>\r\n\r\n<script>\r\n\r\nVue.use(VueGoogleMap, {\r\n  load: {\r\n    key: 'AIzaSyBzlLYISGjL_ovJwAehh6ydhB56fCCpPQw'\r\n  },\r\n  installComponents: true\r\n});\r\n\r\ndocument.addEventListener('DOMContentLoaded', function() {\r\n    new Vue({\r\n        el: '#root',\r\n        data: {\r\n          center: {lat: 10.0, lng: 10.0},\r\n          markers: [{\r\n            position: {lat: 10.0, lng: 10.0}\r\n          }, {\r\n            position: {lat: 11.0, lng: 11.0}\r\n          }]\r\n        },\r\n    });\r\n});\r\n\r\n</script>\r\n\r\n</body>\r\n```\r\n\r\nThanks :+1: "}}
{"actor":{"display_login":"ghprod"}}