Method CreateUrl
- Namespace
- Pinwheel.Vista.RealWorldData
- Assembly
- Pinwheel.Vista.RealWorldData.Runtime.dll
CreateUrl(string, string, int, int, int)
Expands a tile URL template by replacing the supported placeholder tokens with concrete values.
public static string CreateUrl(string urlTemplate, string apiKey, int zoom, int x, int y)
Parameters
urlTemplatestringTemplate containing one or more supported placeholder tokens.
apiKeystringAPI key value to substitute when the template uses Pinwheel.Vista.RealWorldData.CustomImageTileProvider.API_KEY.
zoomintTile zoom level.
xintTile X coordinate.
yintTile Y coordinate.
Returns
- string
The expanded request URL.