<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Problem with making 3d markers as scripts.]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=443&amp;type=atom" />
	<updated>2017-05-14T23:38:38Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=443</id>
		<entry>
			<title type="html"><![CDATA[Re: Problem with making 3d markers as scripts.]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2347#p2347" />
			<content type="html"><![CDATA[<p>Hello.</p><p>I checked your script (without any changes), and it works well.<br />The marker is shown in Australia near to Newcastle.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-05-14T23:38:38Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2347#p2347</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem with making 3d markers as scripts.]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2343#p2343" />
			<content type="html"><![CDATA[<p>hi,</p><p>i seem to be having a similar issue and i have double checked the arguments im parsing and they seem to be in the correct order but my 3D prefab is inactive at runtime and the scale is incorrect. The code is below</p><p>using System.Collections;<br />using System.Collections.Generic;<br />using UnityEngine;</p><p>public class ThreeDMarker : MonoBehaviour {<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; public GameObject markerPrefab;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; private OnlineMapsMarker3D marker3D;<br />&nbsp; &nbsp; &nbsp; &nbsp; double markerLongitude= 151.5496154;<br />&nbsp; &nbsp; &nbsp; &nbsp; double markerLatitude = -32.9765848;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; private void Start()<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Get instance of OnlineMapsControlBase3D (Texture or Tileset)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OnlineMapsControlBase3D control = OnlineMapsControlBase3D.instance;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (control == null)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.LogError(&quot;You must use the 3D control (Texture or Tileset).&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; // Create 3D marker</p><p>&nbsp; &nbsp; &nbsp; &nbsp; marker3D = control.AddMarker3D(markerLongitude, markerLatitude, markerPrefab);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p><p>&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }</p><p>any help or tips would be greatly appreciated!</p><p>Regards</p>]]></content>
			<author>
				<name><![CDATA[stiffy89]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=453</uri>
			</author>
			<updated>2017-05-13T16:34:28Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2343#p2343</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem with making 3d markers as scripts.]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1932#p1932" />
			<content type="html"><![CDATA[<p>The issue has been resolved. Thank you! <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[adepter]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=190</uri>
			</author>
			<updated>2017-03-04T13:31:24Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1932#p1932</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem with making 3d markers as scripts.]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1931#p1931" />
			<content type="html"><![CDATA[<p>Hello.</p><p>You confused the latitude and longitude in coordinates of the marker.<br />X - longitude, Y - latitude.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-03-04T13:18:55Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1931#p1931</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Problem with making 3d markers as scripts.]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1930#p1930" />
			<content type="html"><![CDATA[<p>Problem with making 3d markers as scripts. It is created but not activated. Changing to setActive (true) will show on the screen but will not work when dragging the map. How should we solve it?</p><p>working movie -&gt; <a href="https://youtu.be/kdAvAn7hvpM">https://youtu.be/kdAvAn7hvpM</a>&nbsp; &nbsp;(youtube)</p>]]></content>
			<author>
				<name><![CDATA[adepter]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=190</uri>
			</author>
			<updated>2017-03-04T13:12:34Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1930#p1930</id>
		</entry>
</feed>
