Open aharonamir opened 4 years ago
Do you have a test case for this @aharonamir? I have never had issues with max_zoom >= 12 myself, so I'm wondering if there is a geometry issue at play here?
var poly = JSON.parse(fs.readFileSync(config.file)); var limits = { min_zoom: 10, // or 12 max_zoom: 12 }; const tiles = cover.tiles(poly.geometry, limits); The File:
When selecting max_zoom of 12 or more we get odd number of intersections, which causes exception when trying to read index i+1 which is out of the array bounds