小程序
小游戏
企业微信
微信支付
扫描小程序码分享
目标小程序的填充是这个样子的,我的是下图这样的,红框的地方没有被填充,箭头的地方填充溢出,问题出在哪里了啊
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
//中心经度
latitude: 40.2,
//中心纬度
longitude: 116.324520,
polygon:[{
points: [
{longitude:116.6212, latitude:41.0283},
{longitude:116.6157, latitude:41.053},
{longitude:116.6309, latitude:41.0608},
{longitude:116.6896, latitude:41.0445},
{longitude:116.6988, latitude:41.0208},
{longitude:116.6777, latitude:40.9715},
{longitude:116.7224, latitude:40.9273},
{longitude:116.7134, latitude:40.9103},
{longitude:116.7796, latitude:40.8771},
{longitude:116.8047, latitude:40.8409},
{longitude:116.8207, latitude:40.8483},
{longitude:116.8762, latitude:40.8212},
{longitude:116.8925, latitude:40.7803},
{longitude:116.9251, latitude:40.7729},
{longitude:116.9266, latitude:40.7449},
{longitude:116.9696, latitude:40.7064},
{longitude:117.0311, latitude:40.6921},
{longitude:117.1107, latitude:40.7082},
{longitude:117.2071, latitude:40.695},
{longitude:117.3179, latitude:40.6578},
{longitude:117.4092, latitude:40.6873},
{longitude:117.5143, latitude:40.6611},
{longitude:117.5004, latitude:40.6362},
{longitude:117.462, latitude:40.6531},
{longitude:117.4489, latitude:40.6515},
{longitude:117.4482, latitude:40.6278},
{longitude:117.4212, latitude:40.6354},
{longitude:117.4218, latitude:40.5694},
{longitude:117.3877, latitude:40.5608},
],
fillColor: "#4F94CD33",
// fillColor: "#ffff0033",
strokeColor: "#000",
strokeWidth: 2,
zIndex: 5,
}],
// scale:[
// ]
},
style="width: 100vw;height: calc(100vh + 40rpx);"
latitude="{{latitude}}"
longitude="{{longitude}}"
scale="{{scale}}"
scale='7.5'
polygons="{{polygon}}" />