Class Tile
Tile is a UIElement that contains shape file layer and map Images
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Maps
Assembly: Syncfusion.SfMaps.UWP.dll
Syntax
public class Tile : Control, IDisposable
Constructors
Tile()
Initializes a new instance of the BingMapApp.Tile class.
Declaration
public Tile()
Fields
TileImageProperty
Using a DependencyProperty as the backing store for TileImage. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TileImageProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TileImageSourceProperty
Identifies TileImageSource Property
Declaration
public static readonly DependencyProperty TileImageSourceProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
XProperty
Identifies X Property of the Tiles
Declaration
public static readonly DependencyProperty XProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
YProperty
Identifies Y Property of the Tile.
Declaration
public static readonly DependencyProperty YProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
TileImage
Gets or sets Image for Tile.
Declaration
public DependencyObject TileImage { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyObject | DependencyObject |
TileImageSource
Gets or sets TileImageSource for the Tile.
Declaration
public ImageSource TileImageSource { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.ImageSource |
X
Gets or sets X Co-Ordinate For the Tile.
Declaration
public int X { get; }
Property Value
Type |
---|
System.Int32 |
Y
Gets or sets Y Co-Ordinate for the Tile.
Declaration
public int Y { get; }
Property Value
Type |
---|
System.Int32 |
Methods
Dispose()
Dispose method invokes while unloading Tile
Declaration
public void Dispose()
LatLongToPoint(Double, Double)
This method converts latitude longitude to point value
Declaration
public Point LatLongToPoint(double latitude, double longitude)
Parameters
Type | Name | Description |
---|---|---|
System.Double | latitude | Latitude |
System.Double | longitude | Longitude |
Returns
Type |
---|
Windows.Foundation.Point |
LatLongToPoint(Double, Double, Int32)
Calculates Latitude and Longitude of Tiles which is to be generated
Declaration
public static Point LatLongToPoint(double latitude, double longitude, int zoomlevel)
Parameters
Type | Name | Description |
---|---|---|
System.Double | latitude | |
System.Double | longitude | |
System.Int32 | zoomlevel |
Returns
Type |
---|
Windows.Foundation.Point |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
protected override void OnApplyTemplate()