Remove right-handed polygon handling in renderer

Since ol.render.Feature assumes right-handed polygons anyway, this
extra optimization is not needed.
This commit is contained in:
Andreas Hocevar
2015-10-28 09:05:47 +01:00
parent 5832943773
commit 5d264d2bf0
5 changed files with 5 additions and 52 deletions

View File

@@ -25,11 +25,6 @@ ol.format.Feature = function() {
*/
this.defaultDataProjection = null;
/**
* @protected
* @type {boolean}
*/
this.rightHandedPolygons = false;
};
@@ -59,14 +54,6 @@ ol.format.Feature.prototype.getReadOptions = function(source, opt_options) {
};
/**
* @return {boolean}
*/
ol.format.Feature.prototype.getRightHandedPolygons = function() {
return this.rightHandedPolygons;
};
/**
* Sets the `defaultDataProjection` on the options, if no `dataProjection`
* is set.