Package com.anylogic.engine.gis
- java.lang.Object
- com.anylogic.engine.gis.GISMarkupSearchImpl<E,
- All Implemented Interfaces:
IGISMarkupSearch<E,P, R, MR>
- Direct Known Subclasses:
AnyLogicOnlineGISMarkupSearch
@AnyLogicInternalAPI public class GISMarkupSearchImpl<E,P extends E, extends Object implements IGISMarkupSearch<E,R extends E, MR> P, R, MR>
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
- Author:
- AnyLogic North America, LLC https://anylogic.com
| Constructor | Description |
|---|---|
GISMarkupSearchImpl |
| Modifier and Type | Method | Description |
|---|---|---|
List<E> | 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.
|
public GISMarkupSearchImpl(IGISSearch search, IGISMarkupDescriptorConverter<E, P, R, MR> converter)
public List<P> searchPoints(String query, double bottomLatitude, double leftLongitude, double topLatitude, double rightLongitude, boolean firstOnly)
Description copied from interface:
IGISMarkupSearchSearch in the preferred area first. Search without restrictions if nothing has been found.
- Specified by:
searchPointsin interfaceIGISMarkupSearch<E,P extends E, R extends E, MR> - 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
public List<R> searchRegions(String query, double bottomLatitude, double leftLongitude, double topLatitude, double rightLongitude, boolean firstOnly)
Description copied from interface:
IGISMarkupSearchSearch in the preferred area first. Search without restrictions if nothing has been found.
- Specified by:
searchRegionsin interfaceIGISMarkupSearch<E,P extends E, R extends E, MR> - 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
public List<MR> searchMultiRegions(String query, double bottomLatitude, double leftLongitude, double topLatitude, double rightLongitude, boolean firstOnly)
- Specified by:
searchMultiRegionsin interfaceIGISMarkupSearch<E,P extends E, R extends E, MR>
public List<E> search(String query, boolean region, boolean visibleAreaOnly, double bottomLatitude, double leftLongitude, double topLatitude, double rightLongitude, boolean firstOnly)
Description copied from interface:
IGISMarkupSearchSearch in the preferred area.
- Specified by:
searchin interfaceIGISMarkupSearch<E,P extends E, R extends E, MR> - Parameters:
query-region-visibleAreaOnly-bottomLatitude- (actual only whenvisibleAreaOnlyistrue)leftLongitude- (actual only whenvisibleAreaOnlyistrue)topLatitude- (actual only whenvisibleAreaOnlyistrue)rightLongitude- (actual only whenvisibleAreaOnlyistrue)firstOnly-- Returns:
- list of search entries or
nullin case of Internet connection problems