This seems like it should be fairly simple. I have added a Drag_Drop handler to my map control and am able to figure out the lat/long of the drop point. Now I just want to show a icon (from a png) at that point. I thought this should work, but it doesn’t.
//Let's put an icon there
var viewLinkMarkerOverlay = new InMemoryMarkerOverlay() { Name = "view_" + tn.Text, MapControl = this };
viewLinkMarkerOverlay.ZoomLevelSet.ZoomLevel01.DefaultPointMarkerStyle.Image = Properties.Resources.ViewLink;
viewLinkMarkerOverlay.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
this.Overlays.Add(viewLinkMarkerOverlay.Name, viewLinkMarkerOverlay);
Feature vlFeature = new Feature(new PointShape(fc.Longitude, fc.Latitude));
viewLinkMarkerOverlay.FeatureSource.BeginTransaction();
viewLinkMarkerOverlay.FeatureSource.AddFeature(vlFeature);
viewLinkMarkerOverlay.FeatureSource.CommitTransaction();
this.Overlays.MoveToTop(viewLinkMarkerOverlay.Name);
this.Refresh();
Help?