ThePuiu Active Member Licensed User Longtime User Jan 12, 2020 #1 I have a pretty large number of markers on a Google Maps. I want that when opening the map all markers become visible. Is it possible in B4X?
I have a pretty large number of markers on a Google Maps. I want that when opening the map all markers become visible. Is it possible in B4X?
Computersmith64 Well-Known Member Licensed User Longtime User Jan 12, 2020 #2 There are some Bounds functions in the GoogleMapsExtras library that you could probably use. Basically you want to find the bounds that takes in all your markers, then use the CameraUpdateFactory methods to zoom to those bounds. https://www.b4x.com/android/forum/threads/googlemapsextras.26277/post-204919 - Colin. Upvote 0
There are some Bounds functions in the GoogleMapsExtras library that you could probably use. Basically you want to find the bounds that takes in all your markers, then use the CameraUpdateFactory methods to zoom to those bounds. https://www.b4x.com/android/forum/threads/googlemapsextras.26277/post-204919 - Colin.