<?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 Marker Lost of scale and position in Android with zoom]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1998</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1998&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in 3d Marker Lost of scale and position in Android with zoom.]]></description>
		<lastBuildDate>Thu, 07 Jul 2022 09:47:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: 3d Marker Lost of scale and position in Android with zoom]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8432#p8432</link>
			<description><![CDATA[<p>Hello.</p><p>This is a script for Online Maps v2, and will only work correctly for integer zoom.<br />Try moving the zoom slider in the editor and you will see that it doesn&#039;t work correctly in the editor too.</p><p>The easiest way around the problem is to create a 3D marker and set the Size Type to Real World or Meters.</p><p>If you still want to scale a GameObject that is not a marker, you can do it this way:<br /></p><div class="codebox"><pre><code>float scale = SOMEVALUE;
float coof = (1 &lt;&lt; (OnlineMaps.MAXZOOM - map.zoom)) * map.zoomCoof;
float s = scale / coof;
gameObject.transform.localScale = new Vector3(s, s, s);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 07 Jul 2022 09:47:47 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8432#p8432</guid>
		</item>
		<item>
			<title><![CDATA[3d Marker Lost of scale and position in Android with zoom]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8431#p8431</link>
			<description><![CDATA[<p>Hello, I have recently purchased your resource to make an information app on a certain territory, however I have encountered a problem that I am not able to solve. Let me explain, I have generated a 3d Marker consisting of a floor plan that overlaps your map, I need to check the accuracy of the overlap for now because I will create mash that trace the paths on which I will have to interact with navmash and my GPS position.<br />The problem: keeping size and position proportionate at each zoom level. with the PC version it works I used a script found on the forum, &quot;MyAwesomeBuilding&quot; and I reset MAXZOOM_DELTA of the OnlineMaps script.</p><p> In the Android version when I zoom with two fingers it gets lost the proportion between 3d marker and your map, alignment,scale&nbsp; is lost. What should I do to make it behave like in the PC version</p><br /><br /><p>thanks a lot I hope we can solve it</p>]]></description>
			<author><![CDATA[null@example.com (simon_me)]]></author>
			<pubDate>Wed, 06 Jul 2022 16:55:03 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8431#p8431</guid>
		</item>
	</channel>
</rss>
