private int[] getPartOffsets(OMGraphicList sublist) {
protected int[] getPartOffsets(OMGraphicList sublist) {
    private int[] getPartOffsets(OMGraphicList sublist) {        int pos = 0;        int[] offsets = new int[sublist.size()];        for (int j = 0; j < sublist.size(); j++) {            OMPoly poly = (OMPoly) sublist.getOMGraphicAt(j);            float[] data = poly.getLatLonArray();            offsets[j] = pos / 2;            pos += data.length;        }        return offsets;    }