PouchDB layer for leaflet