iOS, How to use GMSCoordinateBounds to show all the markers of the map?

后端 未结 10 1772
无人共我
无人共我 2020-12-23 09:28

I want to show all the markers that are on my map, after doing some searches I found that it should be done with GMSCoordinateBounds (Google Maps SDK) I\'ve

10条回答
  •  囚心锁ツ
    2020-12-23 09:52

    You could iterate your map markers and get the further point to the east, west, north and south and make [[GMSCoordinateBounds alloc] initWithRegion:]

提交回复
热议问题