Hello,I have created a custom tool that I've added to the Sketch Tool context menu. How do get the x y point on the map that was clicked to fire the context menu?Thanks!
You can override the IDocumentEvents_OnContextMenu event, and convert the screen coordinates to map coordinates using IActiveView.ScreenDisplay.DisplayTransformation.ToMapPoint
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.