Topic: Access Markers in runtime to collect info and expand the class
Hello,
Thank you very much for your help so far. I have a question regarding Markers in runtime and how I can access to their info(label, coordinates, game object prefab...maybe also expand the class if possible).
At the moment, have a bunch of POI/Markers that I have placed and now I want to access them in runtime to collect information.
When my GPS Marker (the player) goes within a certain range to a specific marker I would like to use the marker information to create an interaction (for instance, I could use the label or a string field to load a specific scene)
So far I have used colliders to trigger the event, but I am not able to access the marker info. The alternative would be to create hundreds of different prefabs for each single marker, but thats not scalable or efficient.
Tried >OnlineMapsMarker class but it doesnt seem to do anything for me.
Thanks
Yuri