private int getPointsPerShape(OMGraphicList sublist) {
protected int getPointsPerShape(OMGraphicList sublist) {
    private int getPointsPerShape(OMGraphicList sublist) {        int numPoints = 0;        for (int i = 0; i < sublist.size(); i++) {            OMPoly poly = (OMPoly) sublist.getOMGraphicAt(i);            float[] data = poly.getLatLonArray();            numPoints += data.length;        }        numPoints /= 2;        return numPoints;    }