Remove deprecated {get,set}SnapToPixel functions
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user