CircularBoundsKt

public final class CircularBoundsKt


Summary

Public methods

static final @NonNull CircularBounds
circularBounds(@NonNull LatLng center, double radius)

Builds a new CircularBounds.

Public methods

circularBounds

public static final @NonNull CircularBounds circularBounds(@NonNull LatLng center, double radius)

Builds a new CircularBounds.

Parameters
@NonNull LatLng center

the center of the circle, specified by its latitude-longitude coordinates

double radius

the radius of the circle, measured in metrics

See https://developers.google.com/maps/documentation/places/web-service/search-textual#location-bias for more info about usage and limitations.

Returns
@NonNull CircularBounds

the constructed CircularBounds