public class LocationCriteria extends Object
| Modifier and Type | Field and Description |
|---|---|
Integer |
Distance
The distance from
Locations within which to find results. |
DistanceUnit |
DistanceUnit
The units for the specified distance.
|
GeocodeProvider |
GeocodeProvider
The provider to lookup latitude/longitude if they are not specified.
|
String |
GeocodeProviderKey
Your private API key for the geocoding provider.
|
List<Location> |
Locations
Results must be found within a certain distance of one of these specified locations.
|
| Constructor and Description |
|---|
LocationCriteria() |
public List<Location> Locations
public DistanceUnit DistanceUnit
public GeocodeProvider GeocodeProvider
GeocodeProvider.Bing
you must specify your GeocodeProviderKeypublic String GeocodeProviderKey
GeocodeProvider.Bing you must specify your own API key.
If using GeocodeProvider.Google, you can optionally provide your own API key
Copyright © 2021. All rights reserved.