0

This is my html script code:

for (var i = 0; i < planes.length; i++) {
    marker = new L.marker([planes[i][2],planes[i][3]], {icon: option}).addTo(map);
    marker.bindPopup('Employee: ' + planes[i][0] + '<br>Department: ' + planes[i][1] + '<br>Date Log: ' + planes[i][4]).addTo(map);     
}

I want to put an address in the bindPopup('Employee: ' + planes[i][0] + '<br>Department: ' + planes[i][1] + '<br>Date Log: ' + planes[i][4] + 'Location : ' + ???) like this one. So I am using longitude and latitude it can possibly get the address of the said coordinates. But my question is how? any links or advice will do. I'm only a freshman Cheers!

Professor Abronsius
  • 33,063
  • 5
  • 32
  • 46

0 Answers0