1 | /**
|
2 | * Render mode for vector tiles:
|
3 | *
|
4 | * 'image': Vector tiles are rendered as images. Great performance, but
|
5 | * point symbols and texts are always rotated with the view and pixels are
|
6 | * scaled during zoom animations.
|
7 | * 'hybrid': Polygon and line elements are rendered as images, so pixels
|
8 | * are scaled during zoom animations. Point symbols and texts are accurately
|
9 | * rendered as vectors and can stay upright on rotated views.
|
10 | * 'vector': Everything is rendered as vectors. Use this mode for improved
|
11 | * performance on vector tile layers with only a few rendered features (e.g.
|
12 | * for highlighting a subset of features of another layer with the same
|
13 | * source).
|
14 | *
|
15 | */
|
16 | declare enum VectorTileRenderType {
|
17 | IMAGE = 'image',
|
18 | HYBRID = 'hybrid',
|
19 | VECTOR = 'vector',
|
20 | }
|
21 |
|
22 | export default VectorTileRenderType;
|