leaflet coupled with appframework