MapContext.initMarkerCluster中的参数gridSize在安卓机上配置无效

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

同样的代码在安卓机上和苹果上面是两个效果,无论设置girdSize为多小,安卓机都不为所动

let mapContext=wx.createMapContext('map', this);
		//设置点聚合
		mapContext.initMarkerCluster({
			gridSize:10,
			complete:(e)=>{
				console.log(e)
			}
		})

左为苹果,右为安卓

1 回复
guona
guona1 楼5 年前

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)