menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ImageryLayer - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ImageryLayer

    Represents the imagerylayer. To render this, create an instance of the ImageryLayer class, and set required properties.

    Inheritance
    System.Object
    MapLayer
    ImageryLayer
    Inherited Members
    MapLayer.GeopointToViewPoint(Double, Double)
    MapLayer.GetLatLonFromPoint(Point)
    MapLayer.MarkerItemsSource
    MapLayer.MarkerItemsSourceProperty
    MapLayer.Markers
    MapLayer.MarkerSelected
    MapLayer.MarkerSettings
    MapLayer.MarkerSettingsProperty
    MapLayer.MarkersProperty
    MapLayer.MarkerTemplate
    MapLayer.MarkerTemplateProperty
    MapLayer.OnMapMarkerSelected(MapMarker)
    MapLayer.OnMarkerSelected(MapMarker)
    MapLayer.ResetOldSelectedView
    MapLayer.ResetOldSelectedViewProperty
    MapLayer.Sublayers
    MapLayer.SublayersProperty
    Namespace: Syncfusion.SfMaps.XForms
    Assembly: Syncfusion.SfMaps.XForms.dll
    Syntax
    public class ImageryLayer : MapLayer, IThemeElement

    Constructors

    ImageryLayer()

    Initializes a new instance of the ImageryLayer class to render the imagery layer of the maps.

    Declaration
    public ImageryLayer()

    Fields

    BingMapKeyProperty

    Gets or sets a value for the Bing maps key property. This key is used to get the Bing maps. This is a bindable property.

    Declaration
    public static readonly BindableProperty BingMapKeyProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    BingMapStyleProperty

    Gets or sets a value for the Bing maps style property of the maps. The default bing map style is road. This is bindable property.

    Declaration
    public static readonly BindableProperty BingMapStyleProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    CanCacheTilesProperty

    The DependencyProperty of the CanCacheTiles property. The default value is true. This is a bindable property.

    Declaration
    public static readonly BindableProperty CanCacheTilesProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    DistanceTypeProperty

    Gets or sets the radius distance type in meters or kilometers or miles to calculate the auto zoom level.

    Declaration
    public static readonly BindableProperty DistanceTypeProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    GeoCoordinatesProperty

    Gets or sets the geo coordinate property of the maps. The default value is 0,0. This is a bindable property.

    Declaration
    public static readonly BindableProperty GeoCoordinatesProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    LatLngBoundsProperty

    Gets or sets the geo bounds based on southwest and northeast corner goe points to calculate auto zoom level.

    Declaration
    public static readonly BindableProperty LatLngBoundsProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    LayerTypeProperty

    Gets or sets a value for layer type property. The default value of the layer type is OSM. This is a bindable property.

    Declaration
    public static readonly BindableProperty LayerTypeProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    RadiusProperty

    Gets or sets the radius distance from center position to calculate the auto zoom level.

    Declaration
    public static readonly BindableProperty RadiusProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    ResetOnDoubleTapProperty

    Gets or sets a value for reset on double tap property. The default value is true. This is a bindable property.

    Declaration
    public static readonly BindableProperty ResetOnDoubleTapProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    BingMapKey

    Gets or sets a value for the Bing map key of the maps. The key of the Bing maps is used to get the Bing maps.

    Declaration
    public string BingMapKey { get; set; }
    Property Value
    Type
    System.String

    BingMapStyle

    Gets or sets a value for the Bing maps style of the maps. The default value of the Bing maps style is road.

    Declaration
    public BingMapStyle BingMapStyle { get; set; }
    Property Value
    Type
    BingMapStyle

    CanCacheTiles

    Gets or sets a value indicating whether to save the tiles in cache of the maps. The default value is true.

    Declaration
    public bool CanCacheTiles { get; set; }
    Property Value
    Type
    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 coordinate property. The default value is 0,0. It gives the coordinates value of the center.

    Declaration
    public Point GeoCoordinates { get; set; }
    Property Value
    Type
    Xamarin.Forms.Point

    LatLngBounds

    Gets or sets the geo bounds based on southwest and northeast corner goe points to calculate auto zoom level.

    Declaration
    public LatLngBounds LatLngBounds { get; set; }
    Property Value
    Type
    LatLngBounds

    LayerType

    Gets or sets a value for the layer type property of the maps. The default value of the layer type is OSM.

    Declaration
    public LayerType LayerType { get; set; }
    Property Value
    Type
    LayerType

    MapBounds

    Gets the imagery layer bounds value (x, y, width, height) in pixels.

    Declaration
    public Rectangle MapBounds { get; }
    Property Value
    Type
    Xamarin.Forms.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 to reset on double tap of the maps. The default value is true.

    Declaration
    public bool ResetOnDoubleTap { get; set; }
    Property Value
    Type
    System.Boolean

    Methods

    DeleteTilesFromCache()

    To delete the tiles saved in applicaion cache.

    Declaration
    public void DeleteTilesFromCache()

    Events

    GeoCoordinateChanged

    Occurs whenever the zooming and panning happens in the imagery layer of the maps. It is an event in the maps.

    Declaration
    public event EventHandler<GeoCoordinateChangedEventArgs> GeoCoordinateChanged
    Event Type
    Type
    System.EventHandler<GeoCoordinateChangedEventArgs>

    RequestTileUri

    Occurs whenever the tile is requested for Uri

    Declaration
    public event EventHandler<TileUriArgs> RequestTileUri
    Event Type
    Type
    System.EventHandler<TileUriArgs>

    ZoomLevelChanging

    Occurs whenever the level or range changes while zooming the imagery layer of the map. It is an event in the maps.

    Declaration
    public event EventHandler<ZoomLevelChangingEventArgs> ZoomLevelChanging
    Event Type
    Type
    System.EventHandler<ZoomLevelChangingEventArgs>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved