Closed meetar closed 4 years ago
Thanks for finding this case. It turns out we can do this just by removing the checks for layer and feature presence, because the code calling this is already setup to handle a null
/undefined
value for geom
. This also made me realize we can remove similar checks when specifying multiple layers by name, further down in the function. So that's a win. 77b9edb2452d40ecd17a7e212e2a2a5889cebd75
This PR addresses errors thrown in an edge case, when an untiled data source is drawn with the
all_layers
flag set:In this case, errors will be thrown, once per worker per tile, if the bounds of the geometry do not intersect the tile, even if
bounds
is set on the datasource:This PR checks for undefined data within a given layer in a given tile when the
all_layers
flag is set, and replaces the errors with a warning. There may well be a better way to handle this :D