public class LatLngBounds
extends java.lang.Object
Copyright (c) 2017 Nexusgeographics All rights reserved.
| Modifier and Type | Class and Description |
|---|---|
static class |
LatLngBounds.Builder |
| Constructor and Description |
|---|
LatLngBounds(LatLng northeast,
LatLng southwest) |
| Modifier and Type | Method and Description |
|---|---|
static LatLngBounds.Builder |
builder() |
boolean |
contains(LatLng point) |
LatLng |
getCenter() |
LatLng |
getNortheast() |
LatLng |
getSouthwest() |
LatLngBounds |
including(LatLng point) |
@NonNull public LatLng getNortheast()
@NonNull public LatLng getSouthwest()
public boolean contains(@NonNull
LatLng point)
point - The point to check.@NonNull public LatLng getCenter()
LatLngBounds(LatLng, LatLng).@NonNull public LatLngBounds including(@NonNull LatLng point)
point - the point to includdeLatLngBounds(LatLng, LatLng) including the given point.public static final LatLngBounds.Builder builder()