Select to view content in your preferred language

Custom Popup with AE API

2045
2
02-17-2011 08:45 AM
MargoBlosser
Deactivated User
I am working on a custom popup that I want to have act in a very similar manner to existing AE popup.  I need the popup to access data that have a one-to-many relationship. 

The approach I am taking is to create an extension add-in, but the problem I am having is how to get the popup to fire, what event can I use to trigger the extension to run its code.  I have seen examples that use the GraphicClicked event, but what I need is an event for clicking on the activemapdisplay. I want the custom popup to fire much like what the out-of-the-box AE popup does, with a mouse click.

Can someone point me in the right direction?

Best Regards,

Margo
0 Kudos
2 Replies
AndreiIvanov
Deactivated User
Margo,

MapDisplay class listens to GrahicClicked and MapItemClicked events. AGX API does not expose MouseClicked event for mapdisplay.
0 Kudos
srinivasreddy
Deactivated User
If u want to add popup at mouse click on the map, Mouse click is not there but u can use TrackDelegate, Here in TrackInfo u r having the poinadded property.
i,e when ever u click on the map one point will add here it will also give geometry.......
0 Kudos