Configure leaflet