Table of Contents

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

urlTemplate string

Template containing one or more supported placeholder tokens.

apiKey string

API key value to substitute when the template uses Pinwheel.Vista.RealWorldData.CustomImageTileProvider.API_KEY.

zoom int

Tile zoom level.

x int

Tile X coordinate.

y int

Tile Y coordinate.

Returns

string

The expanded request URL.