The next turf function: turf.bbox() and turf.bboxPolygon. Get those maps zooming nicely!
00:00 Intro
01:00 Getting Set Up
01:20 What the heck is a bounding box
04:20 Using turf.bbox()
07:15 Bounding Box Polygon uses
Code:
https://github.com/mapstertech/mapste...
Other helpful links:
https://turfjs.org/
https://maplibre.org/maplibre-gl-js-d...
https://geojson.io/