MapContext.initMarkerCluster中的参数gridSize在安卓机上配置无效
发布于 6 年前 作者 dyao 10614 次浏览 来自 问答

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

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

左为苹果,右为安卓

1 回复

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

回到顶部