Bounding Box Builder
Build a bounding box from points or a center+radius, in every common ordering.
Overview
Compute an axis-aligned bounding box (extent) from a list of coordinates or from a single center point plus a radius. It emits the box in the orderings used by GeoJSON, Leaflet, WKT and common APIs, plus the center and physical width and height in kilometres. Handy for setting map viewports, spatial queries and tile requests.