使用高德地图js API,在做自定义折线方向箭头的时候,发现页面嵌入在ios WKWebview容器上白色的箭头无法展示出来,h5页面单独在浏览器上面箭头是能展示的,有人遇到这个问题吗。
var polyline3 = new AMap.Polyline({
path: path3, // 设置线覆盖物路径
showDir:true,
dirImg:canvasDir,
strokeColor: '#3366cc', // 线颜色
strokeWeight: 10 // 线宽
});
var polyline3 = new AMap.Polyline({
path: path3, // 设置线覆盖物路径
showDir:true,
dirImg:canvasDir,
strokeColor: '#3366cc', // 线颜色
strokeWeight: 10 // 线宽
});
展开
1
点赞
![[耶]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_72.04f3881.png)
![[捂脸]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_28.8981538.png)
![[奋斗]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_29.2801857.png)