<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — adding variables to 2D marker]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=356&amp;type=atom" />
	<updated>2016-12-23T18:37:24Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=356</id>
		<entry>
			<title type="html"><![CDATA[Re: adding variables to 2D marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1574#p1574" />
			<content type="html"><![CDATA[<p>Hello.</p><p>You can store any data in OnlineMapsMarkerBase.customData<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsMarkerBase.html#ab930373104779d37395023a199f29dc1">http://infinity-code.com/doxygen/online … a199f29dc1</a><br />Example:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/MarkerCustomDataExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p><p>To get the coordinates of the marker, use OnlineMapsMarkerBase.GetPosition or OnlineMapsMarkerBase.position.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-12-23T18:37:24Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1574#p1574</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[adding variables to 2D marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1571#p1571" />
			<content type="html"><![CDATA[<p>Hi,</p><p>Is there an easy way to add variables to a 2D marker; i&#039;d like to display an image and 2 textfields when clicked on a marker.. I looked into the onlineMaps.cs how the creation of the marker is constructed, but i guess i shouldn&#039;t be screwing around with that script(?)</p><p>Also i&#039;d like to extract the Lon and Lat on a per marker basis, is there a way to access these values (like &#039;marker.label&#039;)?</p><p>ps. i&#039;m a semi-noob scripter, so apologies for asking maybe obvious questions <img src="https://forum.infinity-code.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>thanx!<br />mike</p>]]></content>
			<author>
				<name><![CDATA[phonk]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=322</uri>
			</author>
			<updated>2016-12-23T15:08:28Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1571#p1571</id>
		</entry>
</feed>
