<map id="myMap" scale="16" markers="{{markers}}" bindmarkertap="markertap" bindregionchange="regionchange" show-location style="width: 100%; height: 400px;"></map> </view> 1. 2. 3. Page({ data: { markers: [{ iconPath: "../../static/images/home/icon.png", longitude:121.4508...
安卓。app,微信开发工具都 正常。小程序中使用map。ios中@markertap 事件会穿透。安卓。app,微信开发工具都 正常。 神清气全2020-12-054279浏览问题模块: Bug反馈框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本 小程序 Bug iOS 14.1 苹果x 最新 https://ask.dcloud...
(feature=>{if(feature.geometry.type==='LineString') { polylines.push(this.getPolyline(feature.geometry.coordinates, tileId)) }elseif(feature.geometry.type==='Point') { markers.push(this.getMarker(feature.geometry.coordinates, tileId)) } });this.setData({polylines: polylines,markers: ...