Rename transform to applyTransform for geometries

This commit is contained in:
Tim Schaub
2014-05-02 09:21:56 -06:00
parent 7b4c240a5a
commit 4f9968d106
8 changed files with 10 additions and 9 deletions

View File

@@ -244,7 +244,7 @@ ol.geom.SimpleGeometry.prototype.setLayout =
* @inheritDoc
* @todo api
*/
ol.geom.SimpleGeometry.prototype.transform = function(transformFn) {
ol.geom.SimpleGeometry.prototype.applyTransform = function(transformFn) {
if (!goog.isNull(this.flatCoordinates)) {
transformFn(this.flatCoordinates, this.flatCoordinates, this.stride);
this.dispatchChangeEvent();