Skip to content

ThreeLayer 是否考虑开放事件监听 #170

Description

@topcnm

从代码中看到,所有鼠标事件,都屏蔽了threelayer,后续是否考虑开放

{ key: "onClick", value: function(b) { for (var a = this.layers.length - 1; 0 <= a; a--) { var c = this.layers[a]; if (!0 === c._visible && "threeLayer" !== c.layerType && "ThreeLayer" !== c.layerType) { var d = c.map.getZoom() , h = c.getOptions().zoomThreshold; if ((!h || !(d <= h[0] || d >= h[1])) && c.options.enablePicked && c.options.onClick && c.pick && (d = c.pick(b.x, b.y, "onClick"), c.options.onClick(d, b), c.options.autoSelect && this.webglLayer.render(), !0 === b.cancelBubble)) break } } } }

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