Tracking User Actions in Maps (deleting pushpins)

joe lion
12-05-2007, 02:59 AM
Hi

I need to know how the applicatiobn can be informed about user actions in the map.

for example: if a user removes a pushpin in the shown map control - how can my code react to that ?

is there a event to which i can add an event handler ?

we tried controlremoved and datamapchange but those events were not fired.


best regards...

robinary
12-05-2007, 07:45 AM
Hi

We are using Visual Foxpro, the only event that seems to fire when a pushpin is deleted we could find is the redraw method.

I pesume you would need to go through the dataset & compare it with what you were expected to see, i do a simliar thing when the user selects several pushpins. I go through the dataset to make sure any have not already been selected.

Hope this helps

Wilfried
12-07-2007, 09:04 AM
Hi,

I think the best is to use SelectionChange event. Another approach is to prevent user to delete a pushpin.

 
Web mp2kmag.com
mapforums.com