html52.com
我爱小程序-开发者交流社区

腾讯地图添加marker在安卓中显示异常?

显示正常,但是在安卓中背景色显示异常代码片段:https://developers.weixin.qq.com/s/Isnbtfm374GHvar markers = []    显示正常,但是在安卓中背景色显示异常代码片段:https://developers.weixin.qq.com/s/Isnbtfm374GHvar markers = []    

var markers = []    

    markers.push({

      id: 1,

      latitude: that.latitude,

      longitude: that.longitude,

      width: 20,

      height: 30,

      //title: '我在这里',//标注点名

      //alpha: 0.5 ,

      callout: {//自定义标记点上方的气泡窗口 点击有效  

        content: '安全范围中',//文本

        color: '#ffffff',//文字颜色

        fontSize: 14,//文本大小

        borderRadius: 15,//边框圆角

        borderWidth: '10',

        bgColor: '#30ad19',//背景颜色

        display: 'ALWAYS'//常显

      }

    })    

    that.marker = markers


在ios中“当前位置”显示正常,但是在安卓中背景色显示异常

代码片段:https://developers.weixin.qq.com/s/Isnbtfm374GH

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付