Remove deprecated {get,set}SnapToPixel functions

This commit is contained in:
Frederic Junod
2019-02-18 11:59:51 +01:00
parent 45b2e8885a
commit 6bab8793a2
2 changed files with 3 additions and 19 deletions

View File

@@ -103,16 +103,6 @@ class ImageStyle {
return this.scale_;
}
/**
* This method is deprecated and always returns false.
* @return {boolean} false.
* @deprecated
* @api
*/
getSnapToPixel() {
return false;
}
/**
* Get the anchor point in pixels. The anchor determines the center point for the
* symbolizer.
@@ -223,14 +213,6 @@ class ImageStyle {
this.scale_ = scale;
}
/**
* This method is deprecated and does nothing.
* @param {boolean} snapToPixel Snap to pixel?
* @deprecated
* @api
*/
setSnapToPixel(snapToPixel) {}
/**
* @abstract
* @param {function(this: T, import("../events/Event.js").default): void} listener Listener function.