Polygon Functionality

The XP360 API is also capable of delivering accurate polygon rendering based on location data for the polygon points.

This section covers functions related to working with polygons.


addPolygon

Adds a polygon to there, using specified latitude and longitude coordinates for the vertices of the polygon.

 

setPolygonDistance

Sets the distance, in meters, for a polygon to display. Set to zero displays nothing. If ANY part of the polygon is over this distance none of the polygon renders.