Adds interactive distance measuring to leaflet