I'm wondering if anybody has had experience automating mapping software, primarily MS Virtual Earth or Google Earth.
Currently, I have test automation created for MS Virtual Earth but it is not resilient enough. The issue is how do I know if all the tiles within the map is finished loading? Right now, I just wait 15 seconds for the map to load but of course, that is not the correct approach.

Better approach is to wait for a flag to be set that indicates the map is finished loading. There lies the problem: not sure if there is even a flag...or if there is another route?