QuadKey Structure

July 28, 2014

Represents a Maps quadkey.

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

public struct QuadKey : IEquatable<QuadKey>

The QuadKey type exposes the following members.

  NameDescription
Public methodQuadKey(String)Initializes a new instance of the QuadKey class.
Public methodQuadKey(Int32, Int32, Int32)Initializes a new instance of the QuadKey class.
Top

  NameDescription
Public propertyKeyGets the quadkey string of the tile.
Public propertyXGets the x-axis position of the tile.
Public propertyYGets the y-axis position of the tile.
Public propertyZoomLevelGets or sets the zoom level of the tile.
Top

  NameDescription
Public methodEquals(Object)Determines whether this quadkey is equal to the specified object. (Overrides ValueType.Equals(Object).)
Public methodEquals(QuadKey)Determines whether this quadkey is equal to the specified 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 methodGetHashCodeRetrieves the hash code for this quadkey. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top

  NameDescription
Public operatorStatic memberEqualityDetermines whether two quadkeys are equal.
Public operatorStatic memberInequalityDetermines whether two quadkeys are not equal.
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:
© 2014 Microsoft