Package com.anylogic.engine.gis
- Type Parameters:
T- Base type of search result entryP- Point on the EarthR- Region on the EarthMR- Multiregion
- All Known Implementing Classes:
AnyLogicOnlineGISMarkupSearch,GISMarkupSearchImpl
@AnyLogicInternalAPI public interface IGISMarkupSearch<T,P extends T, R extends T, MR>
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
Basic interface for geographical search in AnyLogic.
it may be removed/renamed in future.
Basic interface for geographical search in AnyLogic.
- Author:
- AnyLogic North America, LLC https://anylogic.com
| Modifier and Type | Method | Description |
|---|---|---|
List<T> | search |
Search in the preferred area.
|
List<MR> | searchMultiRegions | |
List<P> | searchPoints |
Search in the preferred area first.
|
List<R> | searchRegions |
Search in the preferred area first.
|
List<T> search(String query, boolean region, boolean visibleAreaOnly, double bottomLatitude, double leftLongitude, double topLatitude, double rightLongitude, boolean firstOnly)
Search in the preferred area.
- Parameters:
query- Country, city, POI or something elseregion- Determines witch type of geographic object should be found (Region if value is true otherwise Point)visibleAreaOnly-trueto search within the given bounds, otherwise - all over the globebottomLatitude- Bottom latitude of the preferred area, used only whenvisibleAreaOnly == trueleftLongitude- Left longitude of the preferred area, used only whenvisibleAreaOnly == truetopLatitude- Top latitude of the preferred area, used only whenvisibleAreaOnly == truerightLongitude- Right longitude of the preferred area, used only whenvisibleAreaOnly == truefirstOnly-trueto return only the first result (if any found)- Returns:
- List of search result entries
List<P> searchPoints(String query, double bottomLatitude, double leftLongitude, double topLatitude, double rightLongitude, boolean firstOnly)
Search in the preferred area first. Search without restrictions if nothing has been found.
- Parameters:
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 entry- Returns:
- List of points
List<R> searchRegions(String query, double bottomLatitude, double leftLongitude, double topLatitude, double rightLongitude, boolean firstOnly)
Search in the preferred area first. Search without restrictions if nothing has been found.
- Parameters:
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 entry- Returns:
- List of regions
List<MR> searchMultiRegions(String query, double bottomLatitude, double leftLongitude, double topLatitude, double rightLongitude, boolean firstOnly)