Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TileSource Class

Retrieves the URI for a tile based on its zoom level and tile position.

System.Object
  Microsoft.Phone.Maps.Controls.TileSource

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

public class TileSource

The TileSource type exposes the following members.

  NameDescription
Public methodTileSource()Initializes a new instance of the TileSource class.
Public methodTileSource(String)Initializes a new instance of the TileSource class with the specified URI format.
Public methodTileSource(String, LocationRectangle)Initializes a new instance of the TileSource class.
Public methodTileSource(String, Int32, Int32)Initializes a new instance of the TileSource class.
Public methodTileSource(String, LocationRectangle, Int32, Int32)Initializes a new instance of the TileSource class.
Top

  NameDescription
Public propertyUriFormatGets or sets the format used to create the URI.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetSubdomainRetrieves the subdomain for the tile identified by the specified quadkey.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetUriRetrieves the URI for the tile specified by the given x,y coordinates and zoom level.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetSubdomainsSets a matrix that represents subdomains.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberQuadKeyUriFragmentSpecifies the piece of the URI that is the quadkey.
Public fieldStatic memberSubdomainUriFragmentSpecifies the piece of the URI that is the subdomain.
Public fieldStatic memberUriSchemeUriFragmentSpecifies the piece of the URI that is the URI scheme.
Public fieldStatic memberXUriFragmentSpecifies the piece of the URI that is the horizontal position of the tile.
Public fieldStatic memberYUriFragmentSpecifies the piece of the URI that is the vertical position of the tile.
Public fieldStatic memberZoomLevelUriFragmentSpecifies the piece of the URI that is the zoom level of the tile.
Top

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.

Windows Phone OS

Supported in: 8.1, 8.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Show:
© 2015 Microsoft