<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Access Markers in runtime to collect info and expand the class]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1676</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1676&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Access Markers in runtime to collect info and expand the class.]]></description>
		<lastBuildDate>Thu, 07 Jan 2021 20:28:27 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Access Markers in runtime to collect info and expand the class]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7051#p7051</link>
			<description><![CDATA[<p>Hello.</p><p>Markers are stored in OnlineMapsMarkerManager.<br /><a href="https://infinity-code.com/doxygen/online-maps/classOnlineMapsMarkerManager.html">https://infinity-code.com/doxygen/onlin … nager.html</a><br />You can create / delete / modify this runtime.</p><p>If you need to store some information in a marker instance, you can do so using customFields.<br />How to use it:<br /><a href="https://infinity-code.com/atlas/online-maps/pages/MarkerCustomDataExample.html">https://infinity-code.com/atlas/online- … ample.html</a><br />You can store any type of value in customFields.</p><p>If necessary, you can extend the OnlineMapsMarker class, but to be honest, I don&#039;t know why this might be necessary.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 07 Jan 2021 20:28:27 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7051#p7051</guid>
		</item>
		<item>
			<title><![CDATA[Access Markers in runtime to collect info and expand the class]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7049#p7049</link>
			<description><![CDATA[<p>Hello,</p><p>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).</p><p>At the moment,&nbsp; have a bunch of POI/Markers that I have placed and now I want to access them in runtime to collect information.</p><p>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)</p><p>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&nbsp; hundreds of different prefabs for each single marker, but thats not scalable or efficient.</p><p>Tried &gt;OnlineMapsMarker class but it doesnt seem to do anything for me. </p><p>Thanks<br />Yuri</p>]]></description>
			<author><![CDATA[null@example.com (Yuri1976)]]></author>
			<pubDate>Thu, 07 Jan 2021 16:54:36 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7049#p7049</guid>
		</item>
	</channel>
</rss>
