Click or drag to resize
LocationsSearch Method (Double, Double, NullableDouble)
Search for a location by geographic coordinate.

Requires Authentication: False

Namespace: InstaSharp.Endpoints
Assembly: 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
)

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: TaskLocationsResponse
Locations Response
See Also