I want to update a div with information when I touchend the map on my iPad or iPhone. The information div run correctly with a click version but for a touchend I had to use map.on
map.on('touchend', function(e) {*...*}
What I can put on my map.on function to update information in my div using data of my JSON?
I used this for click version :
info.update = function(properties) {
document.getElementById("data1").innerHTML = properties.MUS_NM_MUN;
document.getElementById("data2").innerHTML = properties.MUS_NM_REG;
document.getElementById("data3").innerHTML = percentFormat(properties.POURCENTAG);
document.getElementById("data4").innerHTML = properties.VE_VHR_VBV;};