Class ImageryLayer
Inherited Members
Namespace: Syncfusion.SfMaps.iOS
Assembly: Syncfusion.SfMaps.iOS.dll
Syntax
public class ImageryLayer : MapLayer
Constructors
ImageryLayer()
Initializes a new instance of the ImageryLayer class.
Declaration
public ImageryLayer()
Properties
BingMapKey
Gets or sets the bing map key.
Declaration
public string BingMapKey { get; set; }
Property Value
Type | Description |
---|---|
System.String | The bing map key. |
BingMapStyle
Gets or sets the bing map style.
Declaration
public BingMapStyle BingMapStyle { get; set; }
Property Value
Type | Description |
---|---|
BingMapStyle | The bing map style. |
CanCacheTiles
Gets or sets a value indicating whether this ImageryLayer can cache tiles.
Declaration
public bool CanCacheTiles { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
DistanceType
Gets or sets the radius distance type in meters or kilometers or miles to calculate the auto zoom level.
Declaration
public DistanceType DistanceType { get; set; }
Property Value
Type |
---|
DistanceType |
GeoCoordinates
Gets or sets the geo coordinates.
Declaration
public CGPoint GeoCoordinates { get; set; }
Property Value
Type | Description |
---|---|
CoreGraphics.CGPoint | The geo coordinates. |
LatLngBounds
Gets or sets the geo bounds based on southwest and northeast corner geo points to calculate auto zoom level.
Declaration
public LatLngBounds LatLngBounds { get; set; }
Property Value
Type |
---|
LatLngBounds |
LayerType
Gets or sets the type of the layer.
Declaration
public LayerType LayerType { get; set; }
Property Value
Type | Description |
---|---|
LayerType | The type of the layer. |
MapBounds
Gets the imagery layer bounds value (x, y, width, height).
Declaration
public Rectangle MapBounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Radius
Gets or sets the radius distance from center position to calculate the auto zoom level.
Declaration
public double Radius { get; set; }
Property Value
Type |
---|
System.Double |
ResetOnDoubleTap
Gets or sets a value indicating whether this ImageryLayer reset on double tap.
Declaration
public bool ResetOnDoubleTap { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
DeleteTilesFromCache()
To delete the tiles saved in application cache
Declaration
public void DeleteTilesFromCache()
GetUri(Int32, Int32, Int32)
This method returns Uri for downloading tile
Declaration
protected virtual Task<string> GetUri(int X, int Y, int Scale)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | X | X-Coordinate |
System.Int32 | Y | Y- Coordinate |
System.Int32 | Scale | Scale value |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> | Uri link |
RefreshMarkerSetting()
Declaration
protected override void RefreshMarkerSetting()
Overrides
Events
GeoCoordinateChanged
Gets or sets the event which is raised when the panning is changing
Declaration
public event EventHandler<GeoCoordinateChangedEventArgs> GeoCoordinateChanged
Event Type
Type |
---|
System.EventHandler<GeoCoordinateChangedEventArgs> |
ZoomLevelChanging
Gets or sets the event which is raised when the zoom level is changing
Declaration
public event EventHandler<ZoomLevelChangingEventArgs> ZoomLevelChanging
Event Type
Type |
---|
System.EventHandler<ZoomLevelChangingEventArgs> |