GeoRect

@objcMembers
public class GeoRect : NSObject

A rectangle in geo coordinates. Used in geo-search.

  • p1

    One of the rectangle’s corners (typically the northwesternmost).

    Declaration

    Swift

    public let p1: LatLng
  • p2

    Corner opposite from p1 (typically the southeasternmost).

    Declaration

    Swift

    public let p2: LatLng
  • Create a geo rectangle.

    Declaration

    Swift

    @objc
    public init(p1: LatLng, p2: LatLng)

    Parameters

    p1

    One of the rectangle’s corners (typically the northwesternmost).

    p2

    Corner opposite from p1 (typically the southeasternmost).