Skip to main content

The boundries data object

Attributes​

boundaries - array​

Contains the boundary data for the searched property. If no data is found, it will = null.

Boundaries Data
  • type - string

There are two supported types. Point and Polygon. If Point is returned, this means the boundary information was not available and all we have is a single point for the propety.

  • coordinates - array

Whether you receive a Polygon or Point as your type, coordinates will always have information.

On a Point, you'll have an array size of 2. Longitude is always first and Latitude is always second.

With a Polygon type you will have an array of Points. You will want to loop through each Point to access the Longitude and Latitude.

Longitude is always first index and Latitude is always second.