<?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 — 3D Markers - Placing and Scaling]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=81</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=81&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in 3D Markers - Placing and Scaling.]]></description>
		<lastBuildDate>Mon, 08 Feb 2016 21:16:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: 3D Markers - Placing and Scaling]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=333#p333</link>
			<description><![CDATA[<p>Thanks! And double thanks for the swiftness of your response. I promise my questions will grow more sophisticated before long!</p>]]></description>
			<author><![CDATA[null@example.com (Quidam)]]></author>
			<pubDate>Mon, 08 Feb 2016 21:16:01 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=333#p333</guid>
		</item>
		<item>
			<title><![CDATA[Re: 3D Markers - Placing and Scaling]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=332#p332</link>
			<description><![CDATA[<p>Hello.</p><div class="codebox"><pre><code>// Marker position. Geographic coordinates.
Vector2 markerPosition = OnlineMaps.instance.position; // &lt;&lt;--------- HERE

// Create 3D marker
marker3D = control.AddMarker3D(markerPosition, markerPrefab);

// Specifies that marker should be shown only when zoom from 1 to 20.
marker3D.range = new OnlineMapsRange(1, 20);</code></pre></div><p>Scale of markers by zoom:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/MarkerScaleByZoomExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 08 Feb 2016 20:55:56 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=332#p332</guid>
		</item>
		<item>
			<title><![CDATA[3D Markers - Placing and Scaling]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=331#p331</link>
			<description><![CDATA[<p>I&#039;m trying to modify your 3D marker example code to place the marker at the map&#039;s current location. I thought GetPosition() would do the trick, by the vector&#039;s coming back at 0,0. Any obvious mistakes here?</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Marker position. Geographic coordinates.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Vector2 markerPosition = new Vector2(0, 0);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Create 3D marker<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; control.GetPosition(markerPosition);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; marker3D = control.AddMarker3D(markerPosition, markerPrefab);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Specifies that marker should be shown only when zoom from 1 to 20.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; marker3D.range = new OnlineMapsRange(1, 20);</p><p>Also, I was wondering if there&#039;s a simple way to tie the scale of the 3D markers to the zoom level of the map. Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (Quidam)]]></author>
			<pubDate>Mon, 08 Feb 2016 20:48:14 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=331#p331</guid>
		</item>
	</channel>
</rss>
