I'm working on JavaFX desktop application and using the ArcGIS SDK v100.7.0. There is a scenario in my code, where i need to create a
Polyline from a
Geometry object. I'm getting this geometry from the
sketchEditor.getGeometry(). I actually want to add a
Point to the sketchEditor geometry when in Polyline creation mode using the point Lat Long inserted by the user and not by mouse click on map. How do i get the sketch geometry into a
PointCollecion, add my new Point into the collection, create
Polygon from this collection and then pass this polygon back to the
sketchEditor.start() method. How do i achieve this?