Package com.anylogic.engine.gis
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
TileURLProvider
,TileURLProviderImpl
@AnyLogicInternalAPI public interface ITileURLProvider extends Serializable
com.anylogic.engine.presentation.ShapeGISMap
has tile layer. This interface is used to get URL for downloading tile.- Author:
- AnyLogic North America, LLC https://anylogic.com
Modifier and Type | Method | Description |
---|---|---|
String | getSourceName() |
Returns the name of tile provider.
|
String | getTileURL |
See details on openstreetmap.org
|
String getTileURL(int x, int y, int zoom)
See details on openstreetmap.org
- Parameters:
x
- tile id in range 0..2zy
- tile id in range 0..2zzoom
- the zoom of the map- Returns:
- URL of tile to download
String getSourceName()
Returns the name of tile provider. This name is used as a key in model's cache. Use different names for different sources of tiles.