How to draw markers, geometries on an ArcGIS Engine MapControl?

1164
0
06-29-2016 11:21 AM
JeffreyDege
New Contributor II

I'm building a windows application that uses ESRI.ArcGIS.Controls.AxMapControl. I've figured out how to create the map, and to populate it from a .mxd.

Now I need to programmatically draw some markers and geometries on the map. I have a set of objects - in memory, not in some external map source - each of which contains a pair of coordinates in latitude/longitude, an ID, and a bit of data. Basically, these represent jobs that the user needs to do.

I need to display a marker, at each of the lat/longs, that displays the ID, and has a popup form that displays the data.

I need to be able to open or close the popup form, from my program.

I need to be able to change the data displayed in the form,

I need to be informed, when the user clicks on a marker, so that I can do some stuff in my program based on which job he clicked.

I'm not new to mapping, I've done this sort of thing with OpenLayers, and with Leaflet, and with Telerik's WPF control. But ESRI provides a huge selection of capabilities, but nothing I've seen yet jumps out as the obvious way to approach this sort of problem.

Any ideas?

Tags (1)
0 Kudos
0 Replies