Uses of Class
ai.nextbillion.maps.model.LatLng
| Package | Description |
|---|---|
| ai.nextbillion.maps | |
| ai.nextbillion.maps.internal | |
| ai.nextbillion.maps.model |
-
Uses of LatLng in ai.nextbillion.maps
Fields in ai.nextbillion.maps declared as LatLng Modifier and Type Field Description LatLngGeolocationApi.Response. locationMethods in ai.nextbillion.maps with parameters of type LatLng Modifier and Type Method Description GeocodingApiRequestGeocodingApiRequest. bounds(LatLng southWestBound, LatLng northEastBound)Sets the bounding box of the viewport within which to bias geocode results more prominently.DirectionsApiRequestDirectionsApiRequest. destination(LatLng destination)The destination, as a latitude/longitude location.DistanceMatrixApiRequestDistanceMatrixApiRequest. destinations(LatLng... points)One or more latitude/longitude values to which to calculate distance and time.static DirectionsApiRequestDirectionsApi. getDirections(GeoApiContext context, LatLng origin, LatLng destination)static DistanceMatrixApiRequestDistanceMatrixApi. getDistanceMatrix(GeoApiContext context, LatLng[] origins, LatLng[] destinations)GeocodingApiRequestGeocodingApiRequest. latlng(LatLng latlng)Creates a reverse geocode forlatlng.NearbySearchRequestNearbySearchRequest. location(LatLng location)Specifies the latitude/longitude around which to retrieve place information.PlaceAutocompleteRequestPlaceAutocompleteRequest. location(LatLng location)The point around which you wish to retrieve place information.QueryAutocompleteRequestQueryAutocompleteRequest. location(LatLng location)The point around which you wish to retrieve place information.TextSearchRequestTextSearchRequest. location(LatLng location)Specifies the latitude/longitude around which to retrieve place information.DirectionsApiRequestDirectionsApiRequest. origin(LatLng origin)The origin, as a latitude/longitude location.PlaceAutocompleteRequestPlaceAutocompleteRequest. origin(LatLng origin)The origin point from which to calculate straight-line distance to the destination (returned asAutocompletePrediction.distanceMeters).DistanceMatrixApiRequestDistanceMatrixApiRequest. origins(LatLng... points)One or more latitude/longitude values from which to calculate distance and time.static GeocodingApiRequestGeocodingApi. reverseGeocode(GeoApiContext context, LatLng location)Requests the street address of alocation.static PendingResult<SnappedPoint[]>RoadsApi. snapToRoads(GeoApiContext context, LatLng... path)Takes up to 100 GPS points collected along a route, and returns a similar set of data with the points snapped to the most likely roads the vehicle was traveling along.DirectionsApiRequestDirectionsApiRequest. waypoints(LatLng... waypoints)The list of waypoints as latitude/longitude locations.Constructors in ai.nextbillion.maps with parameters of type LatLng Constructor Description LocationBiasCircular(LatLng center, int radius)LocationBiasPoint(LatLng point)LocationBiasRectangular(LatLng southWest, LatLng northEast)Waypoint(LatLng location)Constructs a stopover Waypoint using a Latlng location.Waypoint(LatLng location, boolean isStopover)Constructs a Waypoint using a LatLng location. -
Uses of LatLng in ai.nextbillion.maps.internal
Methods in ai.nextbillion.maps.internal that return LatLng Modifier and Type Method Description LatLngLatLngAdapter. read(com.google.gson.stream.JsonReader reader)Reads in a JSON object and try to create a LatLng in one of the following formats.Methods in ai.nextbillion.maps.internal that return types with arguments of type LatLng Modifier and Type Method Description static java.util.List<LatLng>PolylineEncoding. decode(java.lang.String encodedPath)Methods in ai.nextbillion.maps.internal with parameters of type LatLng Modifier and Type Method Description static java.lang.StringPolylineEncoding. encode(LatLng[] path)voidLatLngAdapter. write(com.google.gson.stream.JsonWriter out, LatLng value)Not supported.Method parameters in ai.nextbillion.maps.internal with type arguments of type LatLng Modifier and Type Method Description static java.lang.StringPolylineEncoding. encode(java.util.List<LatLng> path) -
Uses of LatLng in ai.nextbillion.maps.model
Fields in ai.nextbillion.maps.model declared as LatLng Modifier and Type Field Description LatLngDirectionsLeg. endLocationLatLngDirectionsRoute. endLocationLatLngDirectionsStep. endLocationThe location of the last point of this step.LatLngElevationResult. locationLocation of the elevation data.LatLngGeolocationResult. locationThe user’s estimated latitude and longitude.LatLngGeometry. locationThe geocoded latitude/longitude value.LatLngSnappedPoint. locationA latitude/longitude value representing the snapped location.LatLngStopDetails. locationThe location of the transit station/stop.LatLngBounds. northeastThe northeast corner of the bounding box.LatLngBounds. southwestThe southwest corner of the bounding box.LatLngDirectionsLeg. startLocationLatLngDirectionsRoute. startLocationLatLngDirectionsStep. startLocationThe location of the starting point of this step.Methods in ai.nextbillion.maps.model that return types with arguments of type LatLng Modifier and Type Method Description java.util.List<LatLng>EncodedPolyline. decodePath()Constructor parameters in ai.nextbillion.maps.model with type arguments of type LatLng Constructor Description EncodedPolyline(java.util.List<LatLng> points)