Select to view content in your preferred language

Remove a point while tracking shapes in ArcGIS Explorer

3110
2
09-03-2015 06:52 AM
bojko108
Emerging Contributor

Hello, I'm developing add-in for ArcGIS Explorer using SDK build 1500. I'm using BeginTrackPolyline() method (http://help.arcgis.com/en/arcgisexplorer/2500/sdk/componenthelp/index.html#/BeginTrackPolyline_Metho... ) from MapDisplay class to track shapes from the screen. This method have a parameter from type TrackStatus enumeration (http://help.arcgis.com/en/arcgisexplorer/2500/sdk/componenthelp/index.html#/TrackStatus_Enumeration/...) and as I see there is a member PointRemoved. According to the documentation: A point has been removed from the tracked shape. This happens when the user right-clicks while tracking a shape with more than one vertex (Vector, Polygon, Polyline, Arrow, Circle and Envelope tracking methods). I'm trying to find out how to actually remove a point while drawing, right-click does not work. Is the documentation wrong? Is there another way to remove a point while drawing on the map?

0 Kudos
2 Replies
EllenBryson2
Deactivated User

I think you're asking whether right-click removes a vertex works in the ArcGIS Explorer application. (Not asking about removing a vertex in VB through the SDK). You reported that it does not seem to be working. I can tell you that it does work, however, it removes only the last vertex created by the user. So you can add vertices by left clicking, and then you can "back up" by right-clicking, one vertex at a time, all the way back to the beginning if you wish.

Perhaps you are trying to hover over a specific vertex and right clicking. That does not work. You can only remove the most recent vertex that you created.

Hope this helps.

Ellen Bryson

bojko108
Emerging Contributor

Thanks for the replay. Yes, you are right, the question is not related to removing the vertex pragmatically, but removing it while the user is drawing in the application using right click of the pointing device. I tried now and it is working, but only in 2D display. When the active display is 3D, right click is rotating the map . I'll try to find out is it possible to disable map rotation in 3D display.

Thanks

0 Kudos