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 |
---|
Xamarin.Forms.BindableProperty |
SouthwestProperty
Gets or sets the southwest corner of the geo bounds.
Declaration
public static readonly BindableProperty SouthwestProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
Northeast
Gets or sets the northeast corner of the geo bounds.
Declaration
public Position Northeast { get; set; }
Property Value
Type |
---|
Position |
Southwest
Gets or sets the southwest corner of the geo bounds.
Declaration
public Position Southwest { get; set; }
Property Value
Type |
---|
Position |