Convert a single Esri geometry into a GeoJSON geometry.
Handles the geometry kinds a feature-service query returns (point,
multipoint, polyline, polygon, envelope). Returns null when the geometry is
absent or unrecognised so the feature still renders attribute-only.
Convert a single Esri geometry into a GeoJSON geometry.
Handles the geometry kinds a feature-service query returns (point, multipoint, polyline, polygon, envelope). Returns
nullwhen the geometry is absent or unrecognised so the feature still renders attribute-only.