<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Some 3d markers set as disabled, although they are on the map]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1175&amp;type=atom" />
	<updated>2019-05-18T10:55:42Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1175</id>
		<entry>
			<title type="html"><![CDATA[Re: Some 3d markers set as disabled, although they are on the map]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4978#p4978" />
			<content type="html"><![CDATA[<p>Hello.</p><p>The problem is that in Vector2: X is longitude, Y is latitude.<br />You set the fields in reverse.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-05-18T10:55:42Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4978#p4978</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Some 3d markers set as disabled, although they are on the map]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4976#p4976" />
			<content type="html"><![CDATA[<p>Hi Alex,</p><p>What are the reasons that 3dmarkers would be added to the map with the wrong geo locations, and then get auto disabled?</p><p>Specifically I&#039;m using the following code to add a marker x meters in front of the camera position:</p><p>&nbsp; &nbsp; &nbsp; &nbsp; ls = OnlineMapsLocationService.instance;<br />&nbsp; &nbsp; &nbsp; &nbsp; // Add the 3d object to the map approx x meters in front of user<br />&nbsp; &nbsp; &nbsp; &nbsp; Vector2 markerGeo = new Vector2(ls.position.y + 0.01f, ls.position.x);<br />&nbsp; &nbsp; &nbsp; &nbsp; OnlineMapsMarker3D current = OnlineMapsMarker3DManager.CreateItem(markerGeo, MapMarker);</p><p>It doesn&#039;t seem to matter what value I add to the ls.position.y, the marker always gets created at the current user position, and the marker is by default disabled</p><p>Any Ideas?</p>]]></content>
			<author>
				<name><![CDATA[cbanwell]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=888</uri>
			</author>
			<updated>2019-05-18T10:32:00Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4976#p4976</id>
		</entry>
</feed>
