use of com.google.android.libraries.maps.model.LatLng in project android-places-demos by googlemaps.
the class StringUtil method convertToLatLngBounds.
@Nullable
static LatLngBounds convertToLatLngBounds(@Nullable String southWest, @Nullable String northEast) {
LatLng soundWestLatLng = convertToLatLng(southWest);
LatLng northEastLatLng = convertToLatLng(northEast);
if (soundWestLatLng == null || northEast == null) {
return null;
}
return new LatLngBounds(soundWestLatLng, northEastLatLng);
}
Aggregations