Hi,
I have this structure of web application:
MasterPage - Aspx page - UserControl - web suite Map control
In UserControl I add to CustomOverlays the overlay of type SimpleMarkerOverlay and register the event handler markerOverlay_MarkerDragged. But the event isn't thrown. Your sample is OK, but my code not.
Code in user control:
SimpleMarkerOverlay elements = GetOverlay() as SimpleMarkerOverlay;
elements.MarkerDragged += new EventHandler<MarkerDraggedEventArgs>(elements_MarkerDragged);
mapControl.CustomOverlays.Add(elements);
public void elements_MarkerDragged(object sender, MarkerDraggedEventArgs e)
{
throw new NotImplementedException();
}
Thanks
Ondrej