Could someone help me with the coding for this? I’m still new to the Map component and Overpass API.
My goal is: when the user selects a category from my ListPicker (junkshop, charity, school, hospital, church), the app should show nearby locations on the map using OpenStreetMap and Overpass.
Right now, only “school” and “hospital” consistently show results. The other categories (junkshop, charity, church) usually return nothing. Also, the app sometimes doesn’t load markers on the first try. I have to press “Choose Place” again for it to work.
What I need help with:
- How should I correctly build the Overpass query so that all categories return nearby results, especially junkshop and donation or charity places?
- How can I make the app more reliable so it loads results on the first press, like properly checking GPS, clearing old markers, and handling the Overpass response?
If needed, I can share screenshots of my blocks and the exact URL or query string my app generates.




