Android Google Places Build RectangularBounds From a List of LatLng

import com.google.android.gms.maps.model.LatLngimport com.google.android.gms.maps.model.LatLngBoundsimport com.google.android.libraries.places.api.model.RectangularBounds
val boundsBuilder = LatLngBounds.builder()boundsBuilder.include(LatLang(3.1407626,101.6241891))boundsBuilder.include(LatLang(3.1089419,101.7379686))boundsBuilder.include(LatLang(3.0124637,101.7550953))val bounds = RectangularBounds.newInstance(boundsBuilder.build())

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.