Merge pull request #8782 from wallw-bits/fix-typecheck-render-feature
Fix getSimplifiedGeometry definition
This commit is contained in:
@@ -191,6 +191,14 @@ class RenderFeature {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {number} squaredTolerance Squared tolerance.
|
||||||
|
* @return {RenderFeature} Simplified geometry.
|
||||||
|
*/
|
||||||
|
getSimplifiedGeometry(squaredTolerance) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the feature properties.
|
* Get the feature properties.
|
||||||
* @return {Object<string, *>} Feature properties.
|
* @return {Object<string, *>} Feature properties.
|
||||||
@@ -261,12 +269,4 @@ RenderFeature.prototype.getFlatCoordinates =
|
|||||||
RenderFeature.prototype.getOrientedFlatCoordinates;
|
RenderFeature.prototype.getOrientedFlatCoordinates;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the feature for working with its geometry.
|
|
||||||
* @return {RenderFeature} Feature.
|
|
||||||
*/
|
|
||||||
RenderFeature.prototype.getSimplifiedGeometry =
|
|
||||||
RenderFeature.prototype.getGeometry;
|
|
||||||
|
|
||||||
|
|
||||||
export default RenderFeature;
|
export default RenderFeature;
|
||||||
|
|||||||
Reference in New Issue
Block a user