none
imageGenerator.getImage stopped working? RRS feed

  • Question

  • HI, 

    I have code similar to this example.

    MapImageGenerator ( can't seem to post the URL here from the samples)

    bingmapsv8samples.azurewebsites.net  / #Map%20Image%20Generator

    The load image to div or download image is no longer working?

    I'm getting an error, on the sampel it says undefined.

    The error is happening at this line:

    function loadInDiv() {
    imageGenerator.getImage(function (mapImg) {
    var output = document.getElementById('output');
    output.innerHTML = '';
    output.appendChild(mapImg);
    }, function (e) {
    alert(e.message);
    });

    }

    Tuesday, July 30, 2019 8:29 PM

All replies