用map组件的circles功能,使用color属性在ios无效

发布于 7 年前作者 wanyan8254 次浏览最后编辑 7 年前来自 ask

用map组件的circles功能,使用color属性在ios无效

3 回复
ylu
ylu2 楼6 年前

请问这个问题解决了吗

min19
min193 楼5 年前

<map  id=“myMap” longitude=“{{point.longitude}}” latitude=“{{point.latitude}}” circles=“{{circles}}”  controls=“{{controls}}” bindcontroltap=“controltap” markers=“{{markers}}” scale=“13”    bindregionchange=“regionchange” show-location style=“width: 100%; height: {{windowWidth}}px;”>

</map>

this.setData({

circles :

{

latitude: this.data.lat,

longitude: this.data.lng,

radius: Number(radius),

fillColor: “#ff75001f”,

color:“#fff0”,

strokeWidth : 0

}

})