AnyLogic
Expand
Font size
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

Method Summary

All Methods Instance Methods Abstract Methods 
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

Method Detail

getTileURL

java.lang.String getTileURL​(int x,
                            int y,
                            int zoom)
See details on openstreetmap.org
Parameters:
x - tile id in range 0..2z
y - tile id in range 0..2z
zoom - the zoom of the map
Returns:
URL of tile to download

getSourceName

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?