return null for unsupported layer types
This commit is contained in:
1 parent
709139c657
commit
54871b6c52
1 file changed
+1
-1
@@ -130,7 +130,7 @@ class LayerRenderer extends Observable {
|
||||
* returned, and empty array will be returned.
|
||||
*/
|
||||
getDataAtPixel(pixel, frameState, hitTolerance) {
|
||||
return abstract();
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user