I'm working on a geolocation-based game, currently using MapBox API, we need to spawn a GameObject in every neighbourhood, MapBox have a script to spawn in map when the user is closer enough to a spot, the problem is, i have to put all the coordinates manually, and that is just impossible because of the number of neighborhoods in the world.
Edit: MapBox is a Geolocation service for real-time mapping. It's a SDK for Unity. all configuration is in-editor, so no revelant scripts to show off. My problem is to spawn in every neighbourhood, this kinds of tags already exists inside Mapbox API, but i have no clue how to use
Edit 2: Im trying to make it search automatic for an neighbourhood, and so put an gameobject there whatever he claims to be a neighbourhood.
Is there a smarter way to spawn that? Like a instruction to spawn in determinated places that im missing?
I'll leave some links to MapBox here. API playground (here you can see how the api works): Link
API reference (if it helps somehow, doesn't helped me yet): Link
Add markers tutorial: Link