Use nearest lower resolution of vector tiles

This commit is contained in:
ahocevar
2019-04-26 13:47:06 +02:00
parent a12b323907
commit dde9c59021
2 changed files with 3 additions and 3 deletions

View File

@@ -138,8 +138,8 @@ class CanvasVectorTileLayerRenderer extends CanvasTileLayerRenderer {
*/
this.tmpTransform_ = createTransform();
// Use closest resolution.
this.zDirection = 0;
// Use nearest lower resolution.
this.zDirection = 1;
listen(labelCache, EventType.CLEAR, this.handleFontsChanged_, this);