Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LatLngBounds

    Show / Hide Table of Contents

    Class LatLngBounds

    To calculate the zoom level based on the bounds.

    Inheritance
    System.Object
    LatLngBounds
    Namespace: Syncfusion.SfMaps.XForms
    Assembly: Syncfusion.SfMaps.XForms.dll
    Syntax
    public class LatLngBounds : BindableObject

    Constructors

    LatLngBounds()

    Initializes a new instance of the LatLngBounds class to render the LatLngBounds of the maps.

    Declaration
    public LatLngBounds()

    LatLngBounds(Position, Position)

    Initializes a new instance of the LatLngBounds class. Gets the value of south west and north east.

    Declaration
    public LatLngBounds(Position northeast, Position southwest)
    Parameters
    Type Name Description
    Position northeast

    north east.

    Position southwest

    south west.

    Fields

    NortheastProperty

    Gets or sets the northeast corner of the geo bounds.

    Declaration
    public static readonly BindableProperty NortheastProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    SouthwestProperty

    Gets or sets the southwest corner of the geo bounds.

    Declaration
    public static readonly BindableProperty SouthwestProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    Northeast

    Gets or sets the northeast corner of the geo bounds.

    Declaration
    public Position Northeast { get; set; }
    Property Value
    Type Description
    Position

    Southwest

    Gets or sets the southwest corner of the geo bounds.

    Declaration
    public Position Southwest { get; set; }
    Property Value
    Type Description
    Position
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved