Is it possible to get the GeoJson representation of a GPFeatureRecordSetLayer that is returned from GPServer task?
I am able to draw the feature on the map (using the ArcGIS js API) with code like this:
const polygon_feature = data.value.features; polygon_feature.symbol = fillSymbol; graphicsLayer.add(polygon_feature);
where data is a returned promise from the
.getResultData() method implemented in the ArcGIS API.
Is there any method available to get the geometry from this object so I can pass it to my backend and save it to our database as GeoJSON or wkt?