return null for unsupported layer types

This commit is contained in:
mike-000
2021-09-30 10:32:48 +01:00
committed by GitHub
parent 709139c657
commit 54871b6c52

View File

@@ -130,7 +130,7 @@ class LayerRenderer extends Observable {
* returned, and empty array will be returned.
*/
getDataAtPixel(pixel, frameState, hitTolerance) {
return abstract();
return null;
}
/**