Remove deprecated 'image' render mode option

This commit is contained in:
Maximilian Krög
2022-07-16 23:10:23 +02:00
parent d5086a7ab5
commit 7f2f789d7f
2 changed files with 0 additions and 14 deletions

View File

@@ -126,12 +126,6 @@ class VectorTileLayer extends BaseVectorLayer {
*/
this.un;
if (options.renderMode === VectorTileRenderType.IMAGE) {
//FIXME deprecated - remove this check in v7.
//eslint-disable-next-line
console.warn('renderMode: "image" is deprecated. Option ignored.')
options.renderMode = undefined;
}
const renderMode = options.renderMode || VectorTileRenderType.HYBRID;
assert(
renderMode == VectorTileRenderType.HYBRID ||

View File

@@ -8,14 +8,6 @@
* @api
*/
export default {
/**
* Vector tiles are rendered as images. Great performance, but
* point symbols and texts are always rotated with the view and pixels are
* scaled during zoom animations
* @api
* @deprecated
*/
IMAGE: 'image',
/**
* Polygon and line elements are rendered as images, so pixels
* are scaled during zoom animations. Point symbols and texts are accurately