Merge pull request #12527 from mike-000/patch-1
Treat custom loaders without success/fail handling as if they were a void loader
This commit is contained in:
@@ -270,6 +270,13 @@ describe('ol.Map', function () {
|
||||
features: [new Feature(new Point([0, 0]))],
|
||||
}),
|
||||
}),
|
||||
new VectorLayer({
|
||||
source: new VectorSource({
|
||||
loader: function (extent, resolution, projection) {
|
||||
this.addFeature(new Feature(new Point([0, 0])));
|
||||
},
|
||||
}),
|
||||
}),
|
||||
],
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user