TileSource Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Retrieves the URI for a tile based on its zoom level and tile position.
Assembly: Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
The TileSource type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | TileSource() | Initializes a new instance of the TileSource class. |
![]() | TileSource(String) | Initializes a new instance of the TileSource class with the specified URI format. |
![]() | TileSource(String, LocationRectangle) | Initializes a new instance of the TileSource class. |
![]() | TileSource(String, Int32, Int32) | Initializes a new instance of the TileSource class. |
![]() | TileSource(String, LocationRectangle, Int32, Int32) | Initializes a new instance of the TileSource class. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetSubdomain | Retrieves the subdomain for the tile identified by the specified quadkey. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetUri | Retrieves the URI for the tile specified by the given x,y coordinates and zoom level. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetSubdomains | Sets a matrix that represents subdomains. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | QuadKeyUriFragment | Specifies the piece of the URI that is the quadkey. |
![]() ![]() | SubdomainUriFragment | Specifies the piece of the URI that is the subdomain. |
![]() ![]() | UriSchemeUriFragment | Specifies the piece of the URI that is the URI scheme. |
![]() ![]() | XUriFragment | Specifies the piece of the URI that is the horizontal position of the tile. |
![]() ![]() | YUriFragment | Specifies the piece of the URI that is the vertical position of the tile. |
![]() ![]() | ZoomLevelUriFragment | Specifies the piece of the URI that is the zoom level of the tile. |
Capabilities
If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.
ID_CAP_MAP | Windows Phone 8 |
For more info, see App capabilities and hardware requirements for Windows Phone 8.




