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
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.

Map.TransformCenter Property

Gets or sets a point to which the logical center of the Map is transformed.

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

public Point TransformCenter { get; set; }

Property Value

Type: System.Windows.Point
A point to which the logical center of the Map is transformed. Use a value between 0 and 1 (but not 0 or 1) for the X and Y properties of the Point.

The TransformCenter represents a point around which the map rotates – for example, when you change the value of the Heading property. Consider setting the Y value of the TransformCenter to a value greater than 0.5 when the map is tilted (that is, when the Pitch is greater than 0). This moves the logical center closer to the user (that is, closer to the bottom of the screen) and shows the user more of what’s in the distance when the map is rotated.

After you set the value of the TransformCenter property for the Map, the Center property continues to return the previous center until you set the Center to the same value as the TransformCenter.

Windows Phone OS

Supported in: 8.1, 8.0

© 2015 Microsoft