Package com.anylogic.engine.gis
- java.lang.Object
- com.anylogic.engine.gis.TileURLProviderImpl
- All Implemented Interfaces:
ITileURLProvider
,Serializable
@Deprecated public class TileURLProviderImpl extends Object implements ITileURLProvider
Deprecated.
Universal implementation of
com.anylogic.engine.gis.ITileURLProvider
. Use it to specify custom tile server.- Author:
- AnyLogic North America, LLC https://anylogic.com
- See Also:
- Serialized Form
Constructor | Description |
---|---|
TileURLProviderImpl |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
String | getSourceName() |
Deprecated.
Returns the name of tile provider.
|
String | getTileURL |
Deprecated.
See details on openstreetmap.org
|
public TileURLProviderImpl(String sourceName, String sourceURL)
Deprecated.
public String getTileURL(int x, int y, int z)
Deprecated.
Description copied from interface:
ITileURLProvider
See details on openstreetmap.org
- Specified by:
getTileURL
in interfaceITileURLProvider
- Parameters:
x
- tile id in range 0..2zy
- tile id in range 0..2zz
- the zoom of the map- Returns:
- URL of tile to download
public String getSourceName()
Deprecated.
Description copied from interface:
ITileURLProvider
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.
- Specified by:
getSourceName
in interfaceITileURLProvider