Set extent berfore features
This commit is contained in:
@@ -147,8 +147,8 @@ class VectorTile extends Tile {
|
|||||||
*/
|
*/
|
||||||
onLoad(features, dataProjection, extent) {
|
onLoad(features, dataProjection, extent) {
|
||||||
this.setProjection(dataProjection);
|
this.setProjection(dataProjection);
|
||||||
this.setFeatures(features);
|
|
||||||
this.setExtent(extent);
|
this.setExtent(extent);
|
||||||
|
this.setFeatures(features);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user