TileSource Constructor (String, Int32, Int32)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the TileSource class.
Assembly: Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
Parameters
- uriFormat
- Type: System.String
The format used to create the URI.
- minZoomLevel
- Type: System.Int32
Minimum zoom level where TileSource contains tiles
- maxZoomLevel
- Type: System.Int32
Maximum zoom level where TileSource contains tiles
Valid values for the zoom level are 1 through 20.
If you specify a value that is less than 1 for minZoomLevel, the value is changed to 1.
If you specify a value that is greater than 20 for maxZoomLevel, the value is changed to 20.
If you specify a larger value for minZoomLevel than for maxZoomLevel, an exception occurs.