StiGisRectLatLng Class
Namespace: Stimulsoft.Report.Maps.Gis
Constructors
| Constructor | Description |
|---|---|
| constructor(number lat, number lng, number widthLng, number heightLat, StiGisPointLatLng location, StiGisSizeLatLng size) |
constructor(lat: number, lng: number, widthLng: number, heightLat: number, location: StiGisPointLatLng, size: StiGisSizeLatLng)
Parameters
- lat (number)
- lng (number)
- widthLng (number)
- heightLat (number)
- location (StiGisPointLatLng)
- size (StiGisSizeLatLng)
Properties
| Property | Type | Description |
|---|---|---|
empty static |
StiGisRectLatLng | |
| locationMiddle | StiGisPointLatLng | |
| locationRightBottom | StiGisPointLatLng | |
| locationTopLeft | StiGisPointLatLng | |
| size | StiGisSizeLatLng |
Methods
| Method | Returns | Description |
|---|---|---|
| clone | StiGisRectLatLng | |
| contains | boolean | |
| contains2 | boolean | |
| equals | boolean | |
fromLTRB static |
StiGisRectLatLng | |
opEquals static |
boolean | |
opNotEquals static |
boolean | |
| toString | string |
Method Details
clone
clone(): StiGisRectLatLng
Returns StiGisRectLatLng
contains
contains(lat: number, lng: number): boolean
Parameters
- lat (number)
- lng (number)
Returns boolean
contains2
contains2(pt: StiGisPointLatLng): boolean
Parameters
- pt (StiGisPointLatLng)
Returns boolean
equals
equals(obj: any): boolean
Parameters
- obj (any)
Returns boolean
fromLTRB static
fromLTRB(leftLng: number, topLat: number, rightLng: number, bottomLat: number): StiGisRectLatLng
Parameters
- leftLng (number)
- topLat (number)
- rightLng (number)
- bottomLat (number)
Returns StiGisRectLatLng
opEquals static
opEquals(left: StiGisRectLatLng, right: StiGisRectLatLng): boolean
Parameters
- left (StiGisRectLatLng)
- right (StiGisRectLatLng)
Returns boolean
opNotEquals static
opNotEquals(left: StiGisRectLatLng, right: StiGisRectLatLng): boolean
Parameters
- left (StiGisRectLatLng)
- right (StiGisRectLatLng)
Returns boolean
toString
toString(): string
Returns string
Fields
| Field | Type | Description |
|---|---|---|
| heightLat | number | |
| lat | number | |
| lng | number | |
| widthLng | number |