ThinkGeo.com    |     Documentation    |     Premium Support

OverlaysDrawn WPF

Can you provide me with an example of how to hook into the


OverlaysDrawn event in a WPF applicaiton?  I want to perform some custom functions after all overlays have completed refreshing.



Peter,


Following code snippet shows you how to hook up the event:

void wpfMap1_OverlaysDrawn(object sender, OverlaysDrawnWpfMapEventArgs e)
{            System.Diagnostics.Debug.WriteLine("wpfMap1_OverlaysDrawn");
}
 
wpfMap1.OverlaysDrawn += new System.EventHandler<OverlaysDrawnWpfMapEventArgs>(wpfMap1_OverlaysDrawn);

 
Any more questions just feel free to let me know.
 
Thanks.
 
Yale