in modules/layers/src/mode-handlers/extrude-handler.ts [166:183]
coordinatesSize(positionIndexes: number[], featureIndex: number) {
let size = 0;
const feature = this.getImmutableFeatureCollection().getObject().features[featureIndex];
const coordinates: any = feature.geometry.coordinates;
// for Multi polygons, length will be 3
if (positionIndexes.length === 3) {
const [a, b] = positionIndexes;
if (coordinates.length && coordinates[a].length) {
size = coordinates[a][b].length;
}
} else {
const [b] = positionIndexes;
if (coordinates.length && coordinates[b].length) {
size = coordinates[b].length;
}
}
return size;
}