| LocationsSearch Method (Double, Double, NullableDouble) |
Search for a location by geographic coordinate.
Requires Authentication: False
Namespace: InstaSharp.EndpointsAssembly: InstaSharp (in InstaSharp.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax public Task<LocationsResponse> Search(
double latitude,
double longitude,
Nullable<double> distance
)
Public Function Search (
latitude As Double,
longitude As Double,
distance As Nullable(Of Double)
) As Task(Of LocationsResponse)
public:
Task<LocationsResponse^>^ Search(
double latitude,
double longitude,
Nullable<double> distance
)
member Search :
latitude : float *
longitude : float *
distance : Nullable<float> -> Task<LocationsResponse>
Parameters
- latitude
- Type: SystemDouble
Latitude of the center search coordinate. If used, lng is required. - longitude
- Type: SystemDouble
Longitude of the center search coordinate. If used, lat is required. - distance
- Type: SystemNullableDouble
Default is 1000m (distance=1000), max distance is 5000.
Return Value
Type:
TaskLocationsResponseLocations Response
See Also