Class mxn.Radius
Defined in: mxn.core.js.
Constructor Attributes | Constructor Name and Description |
---|---|
mxn.Radius(center, quality)
Creates a new radius object for drawing circles around a point, does a lot of initial calculation to increase load time
|
Method Attributes | Method Name and Description |
---|---|
getPolyline(radius, color)
Returns polyline of a circle around the point based on new radius
|
Class Detail
mxn.Radius(center, quality)
Creates a new radius object for drawing circles around a point, does a lot of initial calculation to increase load time
- Parameters:
- {LatLonPoint} center
- LatLonPoint of the radius
- {Number} quality
- Number of points that comprise the approximated circle (20 is a good starting point)
Method Detail
{Polyline}
getPolyline(radius, color)
Returns polyline of a circle around the point based on new radius
- Parameters:
- {Radius} radius
- {Color} color
- Returns:
- {Polyline} Polyline