<?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 — Set a default target position]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=979</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=979&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Set a default target position.]]></description>
		<lastBuildDate>Wed, 12 Dec 2018 09:33:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Set a default target position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4385#p4385</link>
			<description><![CDATA[<p>Ok. Thaks for your help!</p>]]></description>
			<author><![CDATA[null@example.com (adri2111)]]></author>
			<pubDate>Wed, 12 Dec 2018 09:33:26 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4385#p4385</guid>
		</item>
		<item>
			<title><![CDATA[Re: Set a default target position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4371#p4371</link>
			<description><![CDATA[<p>Yes, OnLocationInited is called when the first location is received.</p><p>Earlier you wrote:<br /></p><div class="quotebox"><blockquote><p>I want to store the last device position and use it when the device doesn&#039;t have gps signa</p></blockquote></div><p>So you have a location from a previous gaming session, so you can use it. <br />Just set this position of the map (OnlineMaps.SetPosition).</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 10 Dec 2018 19:05:05 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4371#p4371</guid>
		</item>
		<item>
			<title><![CDATA[Re: Set a default target position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4368#p4368</link>
			<description><![CDATA[<p>Thanks for your tip.<br />In the documentation, we can read: &quot;Important: position not available Start, because GPS is not already initialized. <br />Use OnLocationInited event, to determine the initialization of GPS.&quot;</p><p>The initialization of the GPS only happens&nbsp; when the GPS send the first Position, that is correct?<br />So I can not setup&nbsp; the position without GPS active. Is another way to set up the position when the GPS not is running?</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (adri2111)]]></author>
			<pubDate>Mon, 10 Dec 2018 09:50:30 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4368#p4368</guid>
		</item>
		<item>
			<title><![CDATA[Re: Set a default target position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4361#p4361</link>
			<description><![CDATA[<p>Subscribe to OnlineMapsLocationServiceBase.OnLocationChanged, and save the user&#039;s position into PlayerPrefs.<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsLocationServiceBase.html#a48763b6f3f12f8065a0a4679479dbafe">http://infinity-code.com/doxygen/online … 79479dbafe</a><br /><a href="https://docs.unity3d.com/ScriptReference/PlayerPrefs.SetFloat.html">https://docs.unity3d.com/ScriptReferenc … Float.html</a><br />When starting the script, check for the presence of the old location, and if it is present, restore it.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 07 Dec 2018 19:47:35 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4361#p4361</guid>
		</item>
		<item>
			<title><![CDATA[Re: Set a default target position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4358#p4358</link>
			<description><![CDATA[<p>Sorry... I didn&#039;t explain good my question.<br />I am working in a mobile game. I want to store the last device position and use it when the device doesn&#039;t have gps signal.<br />So I need some script example to setup the map sition and the user marker position with my saving values.</p><p>Thanks!!</p>]]></description>
			<author><![CDATA[null@example.com (adri2111)]]></author>
			<pubDate>Fri, 07 Dec 2018 13:57:59 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4358#p4358</guid>
		</item>
		<item>
			<title><![CDATA[Re: Set a default target position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4342#p4342</link>
			<description><![CDATA[<p>Hello.</p><p>Simply move the map to the desired location and click Save State.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 04 Dec 2018 09:45:34 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4342#p4342</guid>
		</item>
		<item>
			<title><![CDATA[Set a default target position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4338#p4338</link>
			<description><![CDATA[<p>Hi.</p><p>I am working to set the default character position when the GPS is without signal. What is the best practice in this case?</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (adri2111)]]></author>
			<pubDate>Tue, 04 Dec 2018 08:05:23 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4338#p4338</guid>
		</item>
	</channel>
</rss>
