Hiii,
Sir , How to do marking (Like: Point, Line, Polygon) in sceneView arcgis runtime for java Application. Plz provide sample code if available....
Take a look at graphics overlays, I believe these are what you need to be using.
This doc introduces the subject of graphics overlays in scenes.
There are also samples which show some of the concepts. I've included samples for 2D and 3D apps. Remember that the graphics are created in the same way for 2D and 3D, just remember that you might want to add a Z value for 3D.
https://github.com/Esri/arcgis-runtime-samples-java/tree/main/display_information/add-graphics-with-symbols
https://developers.arcgis.com/java/scenes-3d/add-graphics-to-a-scene-view/
https://github.com/Esri/arcgis-runtime-samples-java/tree/main/scene/surface-placement
https://github.com/Esri/arcgis-runtime-samples-java/tree/main/scene/extrude-graphics
https://github.com/Esri/arcgis-runtime-samples-java/tree/main/scene/distance-composite-symbol
https://github.com/Esri/arcgis-runtime-samples-java/tree/main/scene/animate-3d-graphic
https://github.com/Esri/arcgis-runtime-samples-java/tree/main/scene/symbols
Hopefully there is enough here to get you started. You may need to consider the surface placement modes you use which are in one of the samples above.
Mark
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.