1

I'm using leaflet and trying to load .svg image on webview.

   `//Create the bounds and image to add.
    var imageUrl = mapData.plan.image;
    var imageBounds = [[mapData.plan.size_x, 0], [0, mapData.plan.size_y]];

    //Add the image overlay to the map
    overlay = L.imageOverlay(imageUrl, imageBounds,{interactive: true});
    overlay.addTo(map);`

The image is not loading

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.