Skip to content

0.10.0版本,identify方法异常 #81

Description

@Gaialong

maptalks-gl v0.124.4 ,我的目的是map监听鼠标移动事件,当划过clusterLayer内的要素时,显示标签,所以就在map和cluterLayer初始化成功之后添加监听事件:
map.on('mousemove', function (e) {
console.log(clusterLayer.identify(e.coordinate));
});
但是由于报错直接地图卡死

Image ps: 我是直接从maptalks-gl v0.114.0 以及 maptalks.markercluster v0.8.8版本升到最新的版本,旧版本是正常的

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions