It's only a single line to convert an SPDF into a leaflet map and a vignette should demonstrate this.