<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Changing Map Aspect at runtime]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1674&amp;type=atom" />
	<updated>2021-01-03T22:16:36Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1674</id>
		<entry>
			<title type="html"><![CDATA[Re: Changing Map Aspect at runtime]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7045#p7045" />
			<content type="html"><![CDATA[<p>I think I understand now. Max limit only sets the barrier, the actual map rotation is the rotation value.</p>]]></content>
			<author>
				<name><![CDATA[gwhitch]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1485</uri>
			</author>
			<updated>2021-01-03T22:16:36Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7045#p7045</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Changing Map Aspect at runtime]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7044#p7044" />
			<content type="html"><![CDATA[<p>I did just notice this:</p><p>Once I set that value to 80 with the button click, with a two finger swipe upward, the map rotaties on the X axis. It does not do it on it&#039;s own. Once that value has been set to 0, I can not rotate the map with a two finger swipe.</p>]]></content>
			<author>
				<name><![CDATA[gwhitch]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1485</uri>
			</author>
			<updated>2021-01-03T20:48:01Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7044#p7044</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Changing Map Aspect at runtime]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7043#p7043" />
			<content type="html"><![CDATA[<p>You also need to set value for OnlineMapsCameraOrbit.rotation.<br /><a href="https://infinity-code.com/doxygen/online-maps/classOnlineMapsCameraOrbit.html#a49c8708b42ff73af58389d118268a1d0">https://infinity-code.com/doxygen/onlin … 118268a1d0</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2021-01-03T20:41:27Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7043#p7043</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Changing Map Aspect at runtime]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7042#p7042" />
			<content type="html"><![CDATA[<p>Originally, I have that value set to 80. I run the application with a button that when clicked, changes that value to 0 if it is 80, or 80 if it is 0. That way I can go between a straight over position view at 0, or a &quot;3D&quot; view at 80. Changing from 80 to 0 works like it should. Changing from 0 to 80 has no effect.</p>]]></content>
			<author>
				<name><![CDATA[gwhitch]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1485</uri>
			</author>
			<updated>2021-01-03T20:37:15Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7042#p7042</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Changing Map Aspect at runtime]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7041#p7041" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Unfortunately I didn&#039;t understand your problem.<br />maxRotationX contains a limit on how many degrees you can tilt (Rotation X) the camera relative to the center of the map, where 0 is perpendicular and 90 is parallel.<br />Changing this value changes the current tilt only if the current tilt is greater than the specified value.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2021-01-03T11:11:18Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7041#p7041</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Changing Map Aspect at runtime]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7040#p7040" />
			<content type="html"><![CDATA[<p>I am changing the OnlineMapsCameraOrbit.maxRotationX value at runtime. When I set it to 0, the map will update to reflect the change. If I change that value to anything other than 0, the map does not change at all. It appears to get any other value than 0, it has to be done in design only. Is there a way to force an update of the map once that value has changed?</p>]]></content>
			<author>
				<name><![CDATA[gwhitch]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1485</uri>
			</author>
			<updated>2021-01-03T05:27:11Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7040#p7040</id>
		</entry>
</feed>
