Package com.anylogic.engine.gis
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
TileURLProvider
,TileURLProviderImpl
@AnyLogicInternalAPI public interface ITileURLProvider extends java.io.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
java.lang.String |
getSourceName() |
Returns the name of tile provider.
|
java.lang.String |
getTileURL(int x,
int y,
int zoom) |
See details on openstreetmap.org
|
Modifier and Type | Method | Description |
---|
java.lang.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
java.lang.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.
-
How can we improve this article?
-