怎么让地图包含所有的markers?

小程序 文章 2021-03-03 15:41 412 0 全屏看文

AI助手支持GPT4.0

怎么让地图包含所有的markers?How to make the map include all the markers?

怎么让地图包含所有的markers?

怎么让地图包含所有的markers,markers改变视角也会改变

How to make the map contain all the markers? If the markers change, the perspective will also change

回答:

围观:代码编辑
Kylerico:具体怎样呢
等风来:

include-points 用这个,把你想要展示的坐标点都包含进去就可以了

Kylerico:但是有个问题就是markers增加 并不会改变视角 显示新的markers
等风来:苍白的描述不如一个简陋的demo
Heheha:

是否是聚合功能?

Kylerico:不是的 
地图新增markers  但是视角不会发生变化

-EOF-

AI助手支持GPT4.0