<?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 — Can't create markers]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1281</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1281&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Can't create markers.]]></description>
		<lastBuildDate>Mon, 01 Jul 2019 14:39:48 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Can't create markers]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5255#p5255</link>
			<description><![CDATA[<p>It was my fault, I had a condition prior to it that wasn&#039;t allowing it to actually make the marker. After that I was able to figure it out, the quick video you made really helped.</p><p>Thanks for your quick responses.</p>]]></description>
			<author><![CDATA[null@example.com (Learning2Swim)]]></author>
			<pubDate>Mon, 01 Jul 2019 14:39:48 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5255#p5255</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't create markers]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5254#p5254</link>
			<description><![CDATA[<p>This is most likely due to the same reason for which no markers are created.<br />I just checked, and for me it works correctly.</p><p>Just to make sure:<br />Do you have one instance of the map in the scene?</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 28 Jun 2019 19:28:11 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5254#p5254</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't create markers]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5253#p5253</link>
			<description><![CDATA[<p>I&#039;m doing the same thing, not getting the same results.</p><p>What&#039;s also odd is the &quot;Add Marker by M&quot; option doesn&#039;t work.<br />When I press either &quot;m&quot; or &quot;M&quot; during runtime, a marker is never added. Only added if I click that actual&quot;Add Marker&quot; button.</p><p>Anyways, thanks for the video above showing how you set it up. I&#039;m going to keep trying to figure out where I&#039;m coming up short.</p>]]></description>
			<author><![CDATA[null@example.com (Learning2Swim)]]></author>
			<pubDate>Fri, 28 Jun 2019 18:50:17 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5253#p5253</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't create markers]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5252#p5252</link>
			<description><![CDATA[<p>I just tried your script for UI Image Control, and the first way works correctly.<br />The second and third ways work, but the marker is created in the wrong location, because you use the wrong order of parameters: X - longitude, Y - latitude.</p><p>Video:<br /><a href="https://www.dropbox.com/s/qaqi1p7il5kkq6m/UI%20Image%20Marker%20Test.mp4?dl=0">https://www.dropbox.com/s/qaqi1p7il5kkq … t.mp4?dl=0</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 28 Jun 2019 17:47:47 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5252#p5252</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't create markers]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5251#p5251</link>
			<description><![CDATA[<p>Online Maps Marker Manager is already attached to the map GameObject. I tried to remove it so that I can add it during runtime, and it says that I can&#039;t because Online Maps UI Image Control needs it.</p><p>edit: It&#039;s also attached/referenced in the editor, and there are no errors.</p><p>Pic attached</p>]]></description>
			<author><![CDATA[null@example.com (Learning2Swim)]]></author>
			<pubDate>Fri, 28 Jun 2019 17:19:34 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5251#p5251</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can't create markers]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5250#p5250</link>
			<description><![CDATA[<p>Hello.</p><p>You need to manually add Online Maps Marker Manager to the map GameObject, and all your ways will work.<br />Or you can add it using a script:<br /></p><div class="codebox"><pre><code>OnlineMaps.instance.gameObject.AddComponent&lt;OnlineMapsMarkerManager&gt;();</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 28 Jun 2019 17:11:29 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5250#p5250</guid>
		</item>
		<item>
			<title><![CDATA[Can't create markers]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=5249#p5249</link>
			<description><![CDATA[<p>I&#039;m trying to create marker and can&#039;t get it to work. They don&#039;t even get added to the ONLINE MAPS MARKER MANAGER components when I attempt to create a marker. Here are the different ways I have tried:</p><p>public OnlineMapsMarkerManager markerManager;<br />public OnlineMapsMarker markerHotspot;</p><p>void Start()<br />{<br />&nbsp; &nbsp; &nbsp;//1ST ATTEMPT<br />&nbsp; &nbsp; &nbsp;markerManager.Create(new Vector2(newLongitude, newLatitude), textureHotspot, &quot;hotspot!&quot;);&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;//2ND ATTEMPT&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;markerHotspot = OnlineMapsMarkerManager.CreateItem(new Vector2(newLatitude, newLongitude), &quot;hotspot&quot;);</p><p>&nbsp; &nbsp; &nbsp;//3RD ATTEMPT<br />&nbsp; &nbsp; &nbsp;markerHotspot = OnlineMaps.instance.AddMarker(new Vector2(newLatitude, newLongitude), &quot;hotspot&quot;); <br />}</p><br /><p>None of these attempts work. What am I missing?<br />Thanks</p>]]></description>
			<author><![CDATA[null@example.com (Learning2Swim)]]></author>
			<pubDate>Fri, 28 Jun 2019 17:06:45 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=5249#p5249</guid>
		</item>
	</channel>
</rss>
