In 2D mapping we have the mapView.AddOverlay method to add a graphic point on the map (e.g., often used to add a graphic point where the user just clicked). In a 3D scene what is the equivalent command since mapView.AddOverlay is not supported in 3D?
Secondly, for scenes a we need to use ConstructMarker vs. ConstructPointSymbol to build a simple 3d marker (e.g., pushpin) to display. Would this work or is their a 3d simple marker style I should be using?
SymbolFactory.Instance.ConstructMarker(ColorFactory.Instance.CreateRGBColor(255, 255, 0), 10.0, SimpleMarkerStyle.Pushpin);
Any pointers would be appreciated.
arcgis pro api #ArcGIS pro
Prior to the 2.0 release there were problems with using AddOverlay method in a Scene. With 2.2 release, you should be able to use the AddOverlay method in a Scene. We will update the documentation with the 2.3 release.
To create and work with 3D Markers, you can use the following snippets:
1. If you have a 3D model file, you can create a Marker from it using the ConstructMarkerFromFile method. You can then assign the marker to a point symbol. Here is a snippet for this: How to construct a point symbol from a file on disk
2. If you just want to use one of the 3D Symbols available with Pro, this snippet might be useful: How to apply a point symbol from a style to a feature layer