Remove renderMode: 'image' for vector tile layers

This commit is contained in:
Andreas Hocevar
2021-02-06 14:57:21 +01:00
parent a7b92cba4d
commit 45ba5792cc
8 changed files with 35 additions and 48 deletions

View File

@@ -193,10 +193,6 @@ const SourceType = {
* the largest possible buffer of the used tiles. It should be at least the size of the largest
* point symbol or line width.
* @property {import("./VectorTileRenderType.js").default|string} [renderMode='hybrid'] Render mode for vector tiles:
* * `'image'`: 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. When `declutter`
* is set to `true`, the decluttering is done per tile resulting in labels and point symbols getting
* cut off at tile boundaries.
* * `'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.