harshaperera

Load MXD performance

Discussion created by harshaperera on Dec 15, 2010
Latest reply on Dec 17, 2010 by vtammineni
Hello,

We have developed an ArcEngine 9.3.1 application. It typically loads a map document by calling LoadMxFile and then zooms to a location on the map. The mxd file can have multiple mastermap layers and rasters. The document is saved zoomed at the relevant area of interest ??? in this case the whole of the UK.
The LoadMxFile call can take a long time to complete resulting in poor performance. Can you suggest a way of improving application performance, especially in situations where we know that we intend to zoom in on a different location? Is it possible to call the loadMx method asynchronously and then cancel the drawing of the layers and zoom to a location? We want to be able to do this programmatically.

Thanks,
Harsha

Outcomes