new version of leaflet directive