类的使用
ai.nextbillion.maps.model.LatLng
-
ai.nextbillion.maps中LatLng的使用
声明为LatLng的ai.nextbillion.maps中的字段 修饰符和类型 字段 说明 LatLngGeolocationApi.Response. location参数类型为LatLng的ai.nextbillion.maps中的方法 修饰符和类型 方法 说明 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.DirectionsTableApiRequestDirectionsTableApiRequest. 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 DirectionsTableApiRequestDirectionsTableApi. 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.DirectionsTableApiRequestDirectionsTableApiRequest. 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.DirectionsTableApiRequestDirectionsTableApiRequest. waypoints(LatLng... waypoints)The list of waypoints as latitude/longitude locations.参数类型为LatLng的ai.nextbillion.maps中的构造器 构造器 说明 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.Waypoint(LatLng location)Constructs a stopover Waypoint using a Latlng location.Waypoint(LatLng location, boolean isStopover)Constructs a Waypoint using a LatLng location. -
ai.nextbillion.maps.internal中LatLng的使用
返回LatLng的ai.nextbillion.maps.internal中的方法 修饰符和类型 方法 说明 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.返回变量类型为LatLng的类型的ai.nextbillion.maps.internal中的方法 修饰符和类型 方法 说明 static java.util.List<LatLng>PolylineEncoding. decode(java.lang.String encodedPath)参数类型为LatLng的ai.nextbillion.maps.internal中的方法 修饰符和类型 方法 说明 static java.lang.StringPolylineEncoding. encode(LatLng[] path)voidLatLngAdapter. write(com.google.gson.stream.JsonWriter out, LatLng value)Not supported.类型变量类型为LatLng的ai.nextbillion.maps.internal中的方法参数 修饰符和类型 方法 说明 static java.lang.StringPolylineEncoding. encode(java.util.List<LatLng> path) -
ai.nextbillion.maps.model中LatLng的使用
声明为LatLng的ai.nextbillion.maps.model中的字段 修饰符和类型 字段 说明 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.返回变量类型为LatLng的类型的ai.nextbillion.maps.model中的方法 修饰符和类型 方法 说明 java.util.List<LatLng>EncodedPolyline. decodePath()类型变量类型为LatLng的ai.nextbillion.maps.model中的构造器参数 构造器 说明 EncodedPolyline(java.util.List<LatLng> points)