Initializes a new QuadTreeTileSource.

Namespace:  C1.Phone.Maps
Assembly:  C1.Phone.Maps (in C1.Phone.Maps.dll)

Syntax

C#
protected QuadTreeTileSource(
	string uriFormat,
	string code,
	int size,
	int tileSize
)
Visual Basic
Protected Sub New ( _
	uriFormat As String, _
	code As String, _
	size As Integer, _
	tileSize As Integer _
)

Parameters

uriFormat
Type: System..::..String
A string with the format of the tile URLs. It must have two string.Format place holder. The first is for the server number (a random number from 0 to 3), the second parameter is the quad tree access string.
code
Type: System..::..String
A four character string containing the characters for the tiles in the following order: upper left, lower left, upper right and lower right.
size
Type: System..::..Int32
The side length in pixels of the source image at the maximum zoom level.
tileSize
Type: System..::..Int32
The side length, in pixels, of a tile.

See Also