detection of the load of an image in a custom overlay RRS feed

  • Question

  • I created a custom overlay class to show an image generated from a web service. sometimes this web service takes up to 15 seconds to return the Image.

    I see that if I try to use setView to change the map type while this call is pending bing maps gives some errors.

    How can I detect when the load of the image is completed? I would like to prevent further commands untile the map is not completly updated

    Friday, June 16, 2017 10:27 AM