Replace VectorTileRenderType enum with typedef

This commit is contained in:
Maximilian Krög
2022-07-16 23:11:02 +02:00
parent 7f2f789d7f
commit 361f1ab837
7 changed files with 18 additions and 48 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ class ErrorEvent extends BaseEvent {
* Recommended value: Vector tiles are usually generated with a buffer, so this value should match
* 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:
* @property {import("./VectorTile.js").VectorTileRenderType} [renderMode='hybrid'] Render mode for vector tiles:
* * `'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.