Hey,
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, SrI.lat, 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.
screenDisplay.SetSymbol(symbol);
screenDisplay.DrawPoint(point);
screenDisplay.FinishDrawing();
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 ?
Thanx
/Bernhard