TileSource Class
Retrieves the URI for a tile based on its zoom level and tile position.
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
| Name | Description | |
|---|---|---|
![]() | TileSource() | Initializes a new instance of the TileSource class. |
![]() | TileSource(String) | Initializes a new instance of the TileSource class. |
| Name | Description | |
|---|---|---|
![]() | UriFormat | Gets or sets the format used to create the URI. |
![]() | Visibility | Gets or sets the visibility of the tile. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetSubdomain(QuadKey) | Retrieves the sub-domain for the tile identified by the specified quad key. |
![]() | GetType() | (Inherited from Object.) |
![]() | GetUri(Int32, Int32, Int32) | Retrieves the URI for the tile specified by the given x, y coordinates and zoom level. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnPropertyChanged(String) | Enables the ability to provide custom handling when a property of the tile source changes. |
![]() | SetSubdomains(String[][]) | Sets a matrix that represents sub-domains. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | QuadKeyUriFragment | Specifies the piece of the URI that is the quad key. |
![]() ![]() | SubdomainUriFragment | Specifies the piece of the URI that is the sub-domain. |
![]() ![]() | UriSchemeUriFragment | Specifies the pieces of the URI that specify the URI scheme. |
| Name | Description | |
|---|---|---|
![]() | PropertyChanged | Occurs when a property of the tile source changes. |
This sample code uses the TileSource class to create a map tile layer and adds the map layer to the map. For more information and the complete sample, see Adding Tile Overlays to the Map.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





