This example show you how to use osmtogeojson
Your own data
togeojson
togeojson(getMap(bbox))