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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user