pasichnykvasyl / Leaflet.BigImage

A leaflet plugin that allows users to receive a large map area and download it.
https://pasichnykvasyl.github.io/Leaflet.BigImage/
MIT License
80 stars 27 forks source link

get blob img #25

Open avrahamzvv opened 1 year ago

avrahamzvv commented 1 year ago

`nbigImage['map'+mymap]._getImg(.7,function(blob){ const reader = new FileReader() reader.onload = (e) => {
currentValue.innerHTML = ''; } reader.onerror = () => {
console.log('error') } reader.readAsDataURL(blob)

});`