redrockhorse
redrockhorse
```javascript function dist2d(coord1, coord2) { let dx = coord1[0] - coord2[0]; let dy = coord1[1] - coord2[1]; return Math.sqrt(dx * dx + dy * dy) } function equals(coord1, coord2) {...
> ```js > function dist2d(coord1, coord2) { > let dx = coord1[0] - coord2[0]; > let dy = coord1[1] - coord2[1]; > return Math.sqrt(dx * dx + dy * dy)...
是的,不只是IconLayer,MarkerListLayer也存在同样的问题,当同时存在两个图层或更多图层的时候,隐藏一下,再显示,单击事件就不响应了,但奇怪的是,双击和右击还是可以的
好的,谢谢。我已经通过修改源码,达成目的。 在 2017-12-27 17:17:29,"liaoxuezhi" 写道: 关不了,因为要支持打包,所以必须署名 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.