T
- Base type of search result entryP
- Point on the EarthR
- Region on the Earth@AnyLogicInternalAPI public interface IGeographicSearch<T,P extends T,R extends T>
Modifier and Type | Method and Description |
---|---|
java.util.List<T> |
search(java.lang.String query,
boolean region)
Search without restrictions.
|
java.util.List<T> |
search(java.lang.String query,
boolean region,
double bottomLatitude,
double leftLongitude,
double topLatitude,
double rightLongitude)
Search in the preferred area.
|
java.util.List<P> |
search(java.lang.String query,
double bottomLatitude,
double leftLongitude,
double topLatitude,
double rightLongitude,
boolean firstOnly)
Search in the preferred area first.
|
java.util.List<R> |
searchRegion(java.lang.String query,
double bottomLatitude,
double leftLongitude,
double topLatitude,
double rightLongitude,
boolean firstOnly)
Search in the preferred area first.
|
java.util.List<T> search(java.lang.String query, boolean region)
query
- Country, city or something elseregion
- Determines witch type of geographic object should be found (Region if value is true otherwise Point)java.util.List<T> search(java.lang.String query, boolean region, double bottomLatitude, double leftLongitude, double topLatitude, double rightLongitude)
query
- Country, city, POI or something elseregion
- Determines witch type of geographic object should be found (Region if value is true otherwise Point)bottomLatitude
- Bottom latitude of the preferred arealeftLongitude
- Left longitude of the preferred areatopLatitude
- Top latitude of the preferred arearightLongitude
- Right longitude of the preferred areajava.util.List<P> search(java.lang.String query, double bottomLatitude, double leftLongitude, double topLatitude, double rightLongitude, boolean firstOnly)
query
- Geographic name, POI or something elsebottomLatitude
- Bottom latitude of the preferred arealeftLongitude
- Left longitude of the preferred areatopLatitude
- Top latitude of the preferred arearightLongitude
- Right longitude of the preferred areafirstOnly
- Determines if search should return only first result entryjava.util.List<R> searchRegion(java.lang.String query, double bottomLatitude, double leftLongitude, double topLatitude, double rightLongitude, boolean firstOnly)
query
- Geographic name, POI or something elsebottomLatitude
- Bottom latitude of the preferred arealeftLongitude
- Left longitude of the preferred areatopLatitude
- Top latitude of the preferred arearightLongitude
- Right longitude of the preferred areafirstOnly
- Determines if search should return only first result entryCopyright © AnyLogic North America, LLC. All Rights Reserved.