message: MINOR: Fixed exception in earcut when generating texture coordinates for polygons with holes.
diff: @@ -818,11 +818,11 @@ export class OmvDecodedTileEmitter implements IOmvEmitter {
  const holes: number[] = [];
  for (; ringIndex < rings.length && rings[ringIndex].isInnerRing; ++ringIndex) {
  const current = rings[ringIndex];
  - holes.push(vertices.length / 3);
  + holes.push(vertices.length / stride);
  // As we are predicting the indexes before the vertices are added,
  // the vertex offset has to be taken into account
  - const vertexOffset = (vertices.length / 3) * 2;
  + const vertexOffset = (vertices.length / stride) * 2;
  vertices.push(...current.contour);
  points.push(...current.points);
  