AnsweredAssumed Answered

Drawing a symbol on a view.

Question asked by bernie_copenhagen on Apr 29, 2016
Latest reply on Jan 23, 2017 by whistle_d



I am working on an add-in which searches in a series of on-line datasources.


I'd like to visualize the results in a view on top of any map.


In the old days (ArcMap 10.x) I would have done it like this:


            pMap = pMxDoc.FocusMap;

            activeView = pMap as IActiveView;

            var point = makePoint(SrI.lon,, EPSG);

            ESRI.ArcGIS.Display.IScreenDisplay screenDisplay = activeView.ScreenDisplay;

            screenDisplay.StartDrawing(screenDisplay.hDC, (System.Int16)ESRI.ArcGIS.Display.esriScreenCache.esriNoScreenCache);

            ESRI.ArcGIS.Display.ISimpleMarkerSymbol simpleMarkerSymbol = new ESRI.ArcGIS.Display.SimpleMarkerSymbol();

            ESRI.ArcGIS.Display.ISymbol symbol = simpleMarkerSymbol as ESRI.ArcGIS.Display.ISymbol; // Dynamic cast.





I can see that there is something similar in the Runtime SDK : Add graphics and text—ArcGIS Runtime SDK for .NET | ArcGIS for Developers

Is there anything alike in the Add-In SDK ?