{
int coordinateCounter = 0;
//---there are three points plus some number of subdivisions...
PolyMapArea polyMapArea = new PolyMapArea( 3 + subdivisions, pieChart2D.iPieChartDataSet.getValue( i ), null, pieChart2D.iPieChartDataSet.getLegendLabel( i ) );
polyMapArea.addCoordinate( coordinateCounter++, xPieMiddle, yPieMiddle );
//---include the first border point, plus the subdivisions
for( int h = 0; h <= subdivisions; h++ )
{
polyMapArea.addCoordinate( coordinateCounter++, imageMapPoints[counter][0], imageMapPoints[counter][1] );