Giter Site home page Giter Site logo

Comments (5)

yangyanggu avatar yangyanggu commented on September 28, 2024

这两个图层的点击事件都是直接绑定在map上的,不应该会有失效的情况,可以提供个测试的demo么

from vue-amap.

bafenbao avatar bafenbao commented on September 28, 2024
<el-amap-layer-three :lights="lights">
  <el-amap-three-gltf url="/geo/2/ok.gltf" :height="10" :position="[104.607283,35.602534]" :scale="3.8" :rotation="rotation"></el-amap-three-gltf>
</el-amap-layer-three>
<el-amap-loca @init="initLoca">
  <el-amap-loca-z-marker :visible="visible" :zIndex="19" :source-data="XQGEOData" @click="clickBuilding"
                         :layer-style="zMarkerTextLayerStyle" @init="addToLoca"></el-amap-loca-z-marker>
</el-amap-loca>

不太方便给完整的代码 click方法是能触发的(clickBuilding这个)。但是本应该返回对应的feature,在此时返回的是undefined,感觉像是被threejs图层挡住了,把zmarker的图层调到999就能正常返回,但是这个时候threejs渲染的模型就不显示了。

from vue-amap.

yangyanggu avatar yangyanggu commented on September 28, 2024

我抽时间看下吧,这里面点击事件不会被盖住,他们两个是一个级别的事件

from vue-amap.

bafenbao avatar bafenbao commented on September 28, 2024

我抽时间看下吧,这里面点击事件不会被盖住,他们两个是一个级别的事件

🆗

from vue-amap.

yangyanggu avatar yangyanggu commented on September 28, 2024

这个的确是个BUG,已经修复,你可以用0.1.16版本

from vue-amap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.