How to add a map with leaflet programmatically