This project is read-only.

Drop "items" on map

Jul 14, 2010 at 8:34 PM

Hi guys

I've looked around everywhere to be sure that I've didn't miss something obvious, but I didn't find anything.

My problem is simple: I have a tree view with "items" and I want to drop it on the map.

The first step to acheive that is to being notified when the drop event occurs, but I can't.

I tried to hook with the Drop event of the Map control in my xaml, but it doesn't fire in my handler.

xmlns:de_map="clr-namespace:DeepEarth.Client.MapControl;assembly=DeepEarth.Client.MapControl"

...

<de_map:Map Drop="deepEarthMap_Drop" x:Name="deepEarthMap"/>
Did a miss something obvious?
Have you any suggestion about being able to do that? 
Thank you
Jul 16, 2010 at 8:32 AM

you want to drop and drag on to the map surface and then get an event fired correct?

then in the event handler you want to grab the items and so something with them?

Jul 20, 2010 at 10:37 AM

Hello,

I am also trying to drop items on the map, but drop event does not get fired !!

Any suggestions ?