Package com.anylogic.engine.gis
- java.lang.Object
- com.anylogic.engine.gis.ChainedGISSearch
- com.anylogic.engine.gis.CachedGISSearch
- All Implemented Interfaces:
IGISSearch
@AnyLogicInternalAPI public class CachedGISSearch extends ChainedGISSearch
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 |
---|---|
CachedGISSearch |
Modifier and Type | Method | Description |
---|---|---|
GISResult<List<GISMarkupDescriptor>> | get |
public CachedGISSearch(IGISSearch underlyingSearch, Supplier<AnyLogicMapDB> dbSupplier, String cacheId, Consumer<StringBuilder> cacheKeyModifier)
- Parameters:
underlyingSearch
-dbSupplier
- Use either the defaultAnyLogicMapDB::instance
or construct and provide your own new AnyLogicMapDB(path) based on your cache foldercacheId
-cacheKeyModifier
-
public GISResult<List<GISMarkupDescriptor>> get(String query, boolean region, boolean visibleAreaOnly, double bottomLatitude, double leftLongitude, double topLatitude, double rightLongitude, boolean firstOnly)