diff --git a/src/ol/layer/VectorTile.js b/src/ol/layer/VectorTile.js index 9024553ea2..5721fa8564 100644 --- a/src/ol/layer/VectorTile.js +++ b/src/ol/layer/VectorTile.js @@ -37,8 +37,6 @@ import {assign} from '../obj.js'; * * `'hybrid'`: Polygon and line elements are rendered as images, so pixels are scaled during zoom * animations. Point symbols and texts are accurately rendered as vectors and can stay upright on * rotated views. - * * `'vector'`: Vector tiles are rendered as vectors. Most accurate rendering even during - * animations, but slower performance than the other options. * * When `declutter` is set to `true`, `'hybrid'` will be used instead of `'image'`. * @property {import("../source/VectorTile.js").default} [source] Source. diff --git a/src/ol/layer/VectorTileRenderType.js b/src/ol/layer/VectorTileRenderType.js index 8cf99dbf71..e4acef8f6b 100644 --- a/src/ol/layer/VectorTileRenderType.js +++ b/src/ol/layer/VectorTileRenderType.js @@ -11,8 +11,6 @@ * * `'hybrid'`: Polygon and line elements are rendered as images, so pixels * are scaled during zoom animations. Point symbols and texts are accurately * rendered as vectors and can stay upright on rotated views. - * * `'vector'`: Vector tiles are rendered as vectors. Most accurate rendering - * even during animations, but slower performance than the other options. * @api */ export default { diff --git a/src/ol/renderer/canvas/VectorTileLayer.js b/src/ol/renderer/canvas/VectorTileLayer.js index b9a8a28e0d..4d29494e47 100644 --- a/src/ol/renderer/canvas/VectorTileLayer.js +++ b/src/ol/renderer/canvas/VectorTileLayer.js @@ -15,7 +15,6 @@ import Units from '../../proj/Units.js'; import ReplayType from '../../render/ReplayType.js'; import {labelCache} from '../../render/canvas.js'; import CanvasBuilderGroup from '../../render/canvas/BuilderGroup.js'; -import {ORDER} from '../../render/replay.js'; import CanvasTileLayerRenderer from './TileLayer.js'; import {getSquaredTolerance as getSquaredRenderTolerance, renderFeature} from '../vector.js'; import { @@ -47,8 +46,7 @@ const IMAGE_REPLAYS = { */ const VECTOR_REPLAYS = { 'image': [ReplayType.DEFAULT], - 'hybrid': [ReplayType.IMAGE, ReplayType.TEXT, ReplayType.DEFAULT], - 'vector': ORDER + 'hybrid': [ReplayType.IMAGE, ReplayType.TEXT, ReplayType.DEFAULT] };