<?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 — Map marker - Storing additional fields/data]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1934</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1934&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Map marker - Storing additional fields/data.]]></description>
		<lastBuildDate>Wed, 23 Mar 2022 18:09:15 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Map marker - Storing additional fields/data]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8177#p8177</link>
			<description><![CDATA[<p>Hello.</p><p>You can store any data inside the marker.<br />The easiest way to do this is:<br /></p><div class="codebox"><pre><code>marker[&quot;myKey&quot;] = myValue;
...
ValueType value = marker[&quot;myKey&quot;] as ValueType;</code></pre></div><p>Example:<br /><a href="https://infinity-code.com/atlas/online-maps/pages/MarkerCustomDataExample.html">https://infinity-code.com/atlas/online- … ample.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Wed, 23 Mar 2022 18:09:15 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8177#p8177</guid>
		</item>
		<item>
			<title><![CDATA[Map marker - Storing additional fields/data]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8176#p8176</link>
			<description><![CDATA[<p>Hi!</p><p>From what I can see, a marker has two main fields: the location, and the display label.&nbsp; Is there any way to store additional (unseen) data in the marker?</p><p>For example, if I want to create markers from a Google Places search, each Google place has a unique places_id so it&#039;s easier to reference.&nbsp; Is there a way for me to store that in the marker, so I can recall it later during an OnClick (or other) event?</p><p>Thanks in advance for your help!</p>]]></description>
			<author><![CDATA[null@example.com (turner)]]></author>
			<pubDate>Wed, 23 Mar 2022 18:05:31 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8176#p8176</guid>
		</item>
	</channel>
</rss>
