Search
Poly.points Property
See Also
 






Gets or sets the array of points in geographical coordinates.

Namespace: MindFusion.Mapping
File: Poly.js

 Syntax

JavaScript  Copy Code

get points() {}

 Property Value

Array.<LatLong>. An array of LatLong instances.

 Example

The following code checks the count of points in a Poly. If it is big enough, it turns off smooth rendering:

JavaScript  Copy Code
if(poly.points.count() > 100)
   poly.smooth = false;

 See Also