{"action":"created","issue":{"url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/48","repository_url":"https://api.github.com/repos/Dafrok/vue-baidu-map","labels_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/48/comments","events_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/48/events","html_url":"https://github.com/Dafrok/vue-baidu-map/issues/48","id":228655946,"number":48,"title":"【问题】请问bm-marker能否实现多点标注？","user":{"login":"joekhwong","id":13617298,"avatar_url":"https://avatars0.githubusercontent.com/u/13617298?v=3","gravatar_id":"","url":"https://api.github.com/users/joekhwong","html_url":"https://github.com/joekhwong","followers_url":"https://api.github.com/users/joekhwong/followers","following_url":"https://api.github.com/users/joekhwong/following{/other_user}","gists_url":"https://api.github.com/users/joekhwong/gists{/gist_id}","starred_url":"https://api.github.com/users/joekhwong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joekhwong/subscriptions","organizations_url":"https://api.github.com/users/joekhwong/orgs","repos_url":"https://api.github.com/users/joekhwong/repos","events_url":"https://api.github.com/users/joekhwong/events{/privacy}","received_events_url":"https://api.github.com/users/joekhwong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-15T09:27:55Z","updated_at":"2017-05-15T09:45:11Z","closed_at":null,"body":"尝试过用以下代码测试但不能成功实现多点标注。\r\n\r\n<template>\r\n  <baidu-map class=\"map\" :center=\"{lng: 116.404, lat: 39.915}\" :zoom=\"15\">\r\n    <bm-marker :position=\"markerPoint1\" :dragging=\"true\" @click=\"infoWindowOpen\">\r\n      <bm-info-window :show=\"show\" @close=\"infoWindowClose\" @open=\"infoWindowOpen\">我爱北京天安门</bm-info-window>\r\n    </bm-marker>\r\n    <bm-marker :position=\"markerPoint2\" :dragging=\"false\"/></bm-marker>\r\n  </baidu-map>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n  mounted() {\r\n  },\r\n  data () {\r\n    return {\r\n      show: false,\r\n      markerPoint1: {lng: 116.404, lat: 39.915},\r\n      markerPoint2: {lng: 116.804, lat: 39.415},\r\n    }\r\n  },\r\n  methods: {\r\n    infoWindowClose () {\r\n      this.show = false\r\n    },\r\n    infoWindowOpen () {\r\n      this.show = true\r\n    }\r\n  }\r\n}\r\n</script>"},"comment":{"url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/comments/301427844","html_url":"https://github.com/Dafrok/vue-baidu-map/issues/48#issuecomment-301427844","issue_url":"https://api.github.com/repos/Dafrok/vue-baidu-map/issues/48","id":301427844,"user":{"login":"Dafrok","id":6159588,"avatar_url":"https://avatars2.githubusercontent.com/u/6159588?v=3","gravatar_id":"","url":"https://api.github.com/users/Dafrok","html_url":"https://github.com/Dafrok","followers_url":"https://api.github.com/users/Dafrok/followers","following_url":"https://api.github.com/users/Dafrok/following{/other_user}","gists_url":"https://api.github.com/users/Dafrok/gists{/gist_id}","starred_url":"https://api.github.com/users/Dafrok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dafrok/subscriptions","organizations_url":"https://api.github.com/users/Dafrok/orgs","repos_url":"https://api.github.com/users/Dafrok/repos","events_url":"https://api.github.com/users/Dafrok/events{/privacy}","received_events_url":"https://api.github.com/users/Dafrok/received_events","type":"User","site_admin":false},"created_at":"2017-05-15T09:45:11Z","updated_at":"2017-05-15T09:45:11Z","body":"http://localhost:8080/#/start/usage 第二小节"}}
{"actor":{"display_login":"Dafrok"}}