.leaflet-marker-icon{ position: absolute; left: 0px; top: -20px; }
andsetTimeout(function () {
html2canvas($('#map'), {
onrendered: function (canvas) {
var mj2 = canvas.toDataURL('image/png');
var image2 = new Image();
image2.src = mj2;
document.getElementsByName("mpp")[0].value = mj2;
},
noCache: true,
allowTaint: false,
logging: true,
useCORS: true,
proxy: 'html2canvasproxy.php'
})
}, 4000);but this is the final result when imove up the marker icon:
It is possible to move up the container of the icon?
Thanks in advance