The buffer distance unit depends on the selected projection. Maybe Use proj4js to determine the projection unit dynamically: ```javascript import proj4 from "proj4"; const unit = proj4("EPSG:4326").oProj.units; // Example output: "degrees" ``` Originally suggested by @mfisher87 in https://github.com/geojupyter/jupytergis/pull/529#issuecomment-2715093218