Open Jing-flyloveyin opened 5 years ago
可以试试把layout的'icon-allow-overlap'属性设置为true,该属性默认为false
-B zoom or --base-zoom=zoom: Base zoom, the level at and above which all points are included in the tiles (default maxzoom). If you use -Bg, it will guess a zoom level that will keep at most 50,000 features in the densest tile. You can also specify a marker-width with -Bgwidth to allow fewer features in the densest tile to compensate for the larger marker, or -Bfnumber to allow at most number features in the densest tile --base-zoom=0
首先要保证有所有数据,再考虑压盖的问题
图标没有设置根据图层显示,在不同的地图层级下显示的数量还是会不同,是因为避免图标碰撞还是自动被抽稀了?
现在我希望不被抽稀或者即使图标互相重叠了也全部显示,应该怎么做呢?
提问者:Mapbox 开发者社群 @杨江南