MobileForms Toolkit Documentation

GeoMap.DownloadMapCompleted Event

Occurs when the map image downloading completes.

public event EventHandler DownloadMapCompleted;

Remarks

If the request has been successfully completed, the property ImageStream contains the Stream object with the resulting map image data. Getting the ImageStream property in case of failure causes that a ServiceRequestException is thrown.

This event is not thread safe because it is raised in the context of the background thread. Before accessing UI elements you will need to marshal the event using e.g. BeginInvoke call.

See Also

GeoMap Class | Resco.Location.Services.Map Namespace