We have `feature.toGeoJSON`, but also need `layer.toGeoJSON` which returns a feature collection for convenience.
We have
feature.toGeoJSON, but also needlayer.toGeoJSONwhich returns a feature collection for convenience.