mapbox / tile-cover

Generate the minimum number of tiles to cover a geojson geometry
MIT License
189 stars 40 forks source link

Fix indexes when polygon spans antimeridian #87

Open johnk1 opened 3 years ago

johnk1 commented 3 years ago

indexes is broken when a polygon spans the antimeridian (due to mapbox/tilebelt#32). It relied on tilebelt providing out-of-range tile indices but tilebelt now automatically wraps these.