Fix stride related bug in Canvas immediate API

This commit is contained in:
Éric Lemoine
2014-06-03 12:41:01 +02:00
committed by Bart van den Eijnden
parent 9dc17230c2
commit d57a35ffcb
4 changed files with 43 additions and 33 deletions

View File

@@ -269,6 +269,7 @@ ol.geom.transformSimpleGeometry2D =
} else {
var stride = simpleGeometry.getStride();
return ol.geom.flat.transform.transform2D(
flatCoordinates, stride, transform, opt_dest);
flatCoordinates, 0, flatCoordinates.length, stride,
transform, opt_dest);
}
};