What Framework/Library are you using? There are several available for OSM, so it’s not clear (at least to me) which one we are talking about.