La suite :
Donc, dans le code js suivant :
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
on met à la place
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {

et à la place de
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
on met
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'

#osm #openstreetmap #leaflet #fautMettreÀJour !