I'm trying to stitch the picture taken from my drone onto the map, and I'm using Django 1.11.14 and latest version leaflet 1.3.4. I tried to use ImageOverlay, there is no error but the image does not appear on my map
var imageUrl = "/media/photos/2018/10/18/DJI_0001_2.JPG";
var imageBounds = [[101.6999678,2.9244267], [101.611, 2.983226]];
L.imageOverlay(imageUrl, imageBounds).addTo(map);
map.fitBounds(imageBounds);
var imageUrl = "/media/photos/2018/10/18/DJI_0001_2.JPG", imageBounds = [[101.6999678,2.9244267], [101.611, 2.983226]];
. I.e. replace;
with'
after '...2.JPG"' and loose the secondvar
. I doubt this is the only issue though. – RoperMaps Oct 31 '18 at 9:20imageOverlay
:on('error', function (e) { console.log(e) })
– Stefan Oct 31 '18 at 9:43