最近一直在整百度地图,发现一个小问题:

 创建文本标注对象设置样式的时候,其中的backgroundColor属性居然还支持透明啊,不过改变数值好像对效果没有影响



var numLabel = new BMap.Label(num);
numLabel.setStyle({ 
color : "#fff", 
fontSize : "16px", 
backgroundColor :"0.05",
border :"0", 
fontWeight :"bold" 
});

相关文章:

  • 2022-12-23
  • 2021-07-05
  • 2022-12-23
  • 2021-04-02
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
  • 2021-09-13
猜你喜欢
  • 2021-12-06
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
相关资源
相似解决方案