AnsweredAssumed Answered

Return Points to Map Window?

Question asked by hardgraf7 on Sep 26, 2013
Latest reply on Sep 27, 2013 by akajanus-esristaff
Hi all.

I've got the 'MapPoint' position back from a double mouse click event on my map window which is then copied to a text box in the UI..

private void MapWindow_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            Point screenPoint = e.GetPosition(MapWindow);
            MapPoint mapPoint = MapWindow.ScreenToMap(screenPoint);

            TextBoxGEOM.Text = mapPoint.ToString();

         }

I also want to create a point on the map where the user double clicks. Just to a list would be fine for now. Is this possible and if so
what classes in the SDK do I need to use?

Thanks,
Tom

Outcomes