
This adds a version of queryPolygon that takes an interface which is passed batches of polygons in the search area. This new API is then used from the old queryPolygons to collect polygons, and from findNearestRef to find the nearest poly in an arbitrarily sized area. Previously findNearestPoly had an arbitrary poly limit of 128 which could cause it to return potentially wrong results. Fix #107