<?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 — All created markers (3d) are placed at 0,0 or center of map]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1060</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1060&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in All created markers (3d) are placed at 0,0 or center of map.]]></description>
		<lastBuildDate>Mon, 18 Mar 2019 08:47:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: All created markers (3d) are placed at 0,0 or center of map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4635#p4635</link>
			<description><![CDATA[<p>My mistake, I had the geo coords of my user position wrong in the editor, once corrected they all displayed correctly.</p>]]></description>
			<author><![CDATA[null@example.com (cbanwell)]]></author>
			<pubDate>Mon, 18 Mar 2019 08:47:11 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4635#p4635</guid>
		</item>
		<item>
			<title><![CDATA[Re: All created markers (3d) are placed at 0,0 or center of map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4634#p4634</link>
			<description><![CDATA[<p>Hello.</p><p>Unfortunately, it is very difficult to say what is wrong without seeing your project and data.<br />Usually, a such problem occurs when confusing the order of latitude and longitude.<br />But you have the right order.<br />Make sure that you have the correct order of values in the original data.<br />If the problem persists, please send me (support@infinity-code.com) your scene for testing.<br />To make it clear:<br />I do not need your working project. I need any (dummy) project where the problem is appears.</p><p>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>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 18 Mar 2019 01:52:39 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4634#p4634</guid>
		</item>
		<item>
			<title><![CDATA[Re: All created markers (3d) are placed at 0,0 or center of map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4633#p4633</link>
			<description><![CDATA[<p>I also have the following legacy code from v2.5, how do I now write the same using the new V3</p><p>// Create new XML and store it in customData.<br />&nbsp; &nbsp; &nbsp; &nbsp; OnlineMapsXML xml1 = new OnlineMapsXML(&quot;MarkerData&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; xml1.Create(&quot;uiName&quot;, data.Name);<br />&nbsp; &nbsp; &nbsp; &nbsp; xml1.Create(&quot;uiLocType&quot;, data.LocType);<br />&nbsp; &nbsp; &nbsp; &nbsp; xml1.Create(&quot;uiCharts&quot;, data.Charts);<br />&nbsp; &nbsp; &nbsp; &nbsp; xml1.Create(&quot;uiVhf_Tel&quot;, data.Vhf_Tel);<br />&nbsp; &nbsp; &nbsp; &nbsp; xml1.Create(&quot;uiGroundtoAnchor&quot;, data.GroundtoAnchor);<br />&nbsp; &nbsp; &nbsp; &nbsp; xml1.Create(&quot;uiPossibilities&quot;, data.Possibilities);<br />&nbsp; &nbsp; &nbsp; &nbsp; xml1.Create(&quot;uiEnvironment&quot;, data.Environment);<br />&nbsp; &nbsp; &nbsp; &nbsp; xml1.Create(&quot;uiTransportation&quot;, data.Transportation);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; current3d.customData = xml1;</p>]]></description>
			<author><![CDATA[null@example.com (cbanwell)]]></author>
			<pubDate>Sun, 17 Mar 2019 20:53:30 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4633#p4633</guid>
		</item>
		<item>
			<title><![CDATA[Re: All created markers (3d) are placed at 0,0 or center of map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4632#p4632</link>
			<description><![CDATA[<p>I did have the createmethods use the vector2 markerGeo, but changed them to use individual doubles as above, both ways yields the same result</p>]]></description>
			<author><![CDATA[null@example.com (cbanwell)]]></author>
			<pubDate>Sun, 17 Mar 2019 20:51:50 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4632#p4632</guid>
		</item>
		<item>
			<title><![CDATA[All created markers (3d) are placed at 0,0 or center of map]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4631#p4631</link>
			<description><![CDATA[<p>Hi,</p><p>Had all the creating of 2d and 3d markers plotting at their correct geo positions on the map with version 2.5, I&#039;ve just upgraded to V3 (latest stable) and changed the create of the markers to use the 2 respective managers.</p><p>With the following code<br />&nbsp; &nbsp; &nbsp; &nbsp; Debug.Log(&quot;Adding marker at:&quot; + data.Lat + &quot; &quot; + data.Long);<br />&nbsp; &nbsp; &nbsp; &nbsp; Vector2 markerGeo = new Vector2((float)data.Long, (float)data.Lat);<br />&nbsp; &nbsp; &nbsp; &nbsp; OnlineMapsMarker3D current3d = OnlineMapsMarker3DManager.CreateItem(data.Long,data.Lat, MapMarker);<br />&nbsp; &nbsp; &nbsp; &nbsp; OnlineMapsMarker current2d = OnlineMapsMarkerManager.CreateItem(data.Long,data.Lat, DefaultMarker, data.Name);</p><p>I use 2d and 3d markers in the same place and display which one depending on which camera is rendering.</p><p>The problem I have is that all the created markers are at the center of the map, even though when looking at the managers, they all have the correct coordinates set.&nbsp; Any ideas?<br />They are all also disabled in the scene view.&nbsp; As if they are outside of the map.</p>]]></description>
			<author><![CDATA[null@example.com (cbanwell)]]></author>
			<pubDate>Sun, 17 Mar 2019 20:49:39 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4631#p4631</guid>
		</item>
	</channel>
</rss>
