From 08be6cf9bcb7a869808b97971f5e961cf7b7b0f4 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Mon, 18 Feb 2019 11:54:59 +0100 Subject: [PATCH] Set extent berfore features --- src/ol/VectorTile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/VectorTile.js b/src/ol/VectorTile.js index e9e0350acb..1f11491345 100644 --- a/src/ol/VectorTile.js +++ b/src/ol/VectorTile.js @@ -147,8 +147,8 @@ class VectorTile extends Tile { */ onLoad(features, dataProjection, extent) { this.setProjection(dataProjection); - this.setFeatures(features); this.setExtent(extent); + this.setFeatures(features); } /**