<?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 — Location Services not working]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=137</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=137&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Location Services not working.]]></description>
		<lastBuildDate>Sun, 17 Apr 2016 20:05:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Location Services not working]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=605#p605</link>
			<description><![CDATA[<p>I will try it out! I&#039;m def giving you five stars on the asset store. Your product and support are unbelievably awesome!</p>]]></description>
			<author><![CDATA[null@example.com (dahbur.jamal)]]></author>
			<pubDate>Sun, 17 Apr 2016 20:05:58 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=605#p605</guid>
		</item>
		<item>
			<title><![CDATA[Re: Location Services not working]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=598#p598</link>
			<description><![CDATA[<p>Make some field that will store GPS status. Default - not initialized. In OnLocationChanged you change it to initialized.<br />Or, when starting you show that GPS is not initialized. In OnLocationChanged you hide it.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 16 Apr 2016 11:36:55 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=598#p598</guid>
		</item>
		<item>
			<title><![CDATA[Re: Location Services not working]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=595#p595</link>
			<description><![CDATA[<p>Thanks! That worked great! Is there anyway to check if it&#039;s being initialized and when it&#039;s over, I&#039;m having some time when the app starts off of just the map before it finds my position, I&#039;d love to let the user know they&#039;re waiting for the initialization while that&#039;s happening.</p>]]></description>
			<author><![CDATA[null@example.com (dahbur.jamal)]]></author>
			<pubDate>Sat, 16 Apr 2016 08:12:48 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=595#p595</guid>
		</item>
		<item>
			<title><![CDATA[Re: Location Services not working]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=594#p594</link>
			<description><![CDATA[<div class="codebox"><pre><code>private void Start ()
{
    OnlineMapsLocationService.instance.OnLocationChanged += OnLocationChanged;
}

private void OnLocationChanged(Vector2 pos)
{
    OnlineMaps.instance.SetPosition(pos.x, pos.y);
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 15 Apr 2016 18:47:45 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=594#p594</guid>
		</item>
		<item>
			<title><![CDATA[Re: Location Services not working]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=593#p593</link>
			<description><![CDATA[<p>It&#039;s still now working, am I doing it wrong? In my update() method I have &nbsp; &nbsp; <br />&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; locService.OnLocationChanged(pos);<br />&nbsp; &nbsp; &nbsp; &nbsp; lng = pos.x;<br />&nbsp; &nbsp; &nbsp; &nbsp; lat = pos.y;<br />&nbsp; &nbsp; &nbsp; &nbsp; mapsControl.SetPosition (lng, lat);</p><p>I tried using OnlineMapsLocationService.OnLocationInited but I have no idea how. Please help</p>]]></description>
			<author><![CDATA[null@example.com (dahbur.jamal)]]></author>
			<pubDate>Fri, 15 Apr 2016 16:50:47 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=593#p593</guid>
		</item>
		<item>
			<title><![CDATA[Re: Location Services not working]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=592#p592</link>
			<description><![CDATA[<p>Hmm, that makes a lot of sense actually, let me try it and get back to you</p>]]></description>
			<author><![CDATA[null@example.com (dahbur.jamal)]]></author>
			<pubDate>Fri, 15 Apr 2016 14:22:36 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=592#p592</guid>
		</item>
		<item>
			<title><![CDATA[Re: Location Services not working]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=589#p589</link>
			<description><![CDATA[<p>Hello.</p><p>When you use Location Service in Unity Editor, you can enable GPS Emulator, to test it.<br />OnlineMapsLocationService.position not available in Start, because GPS is not already initialized.<br />Use OnlineMapsLocationService.OnLocationChanged or OnlineMapsLocationService.OnLocationInited (OnlineMaps v2.4.0.17+) to determine the GPS initialization.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 15 Apr 2016 11:00:30 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=589#p589</guid>
		</item>
		<item>
			<title><![CDATA[Location Services not working]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=586#p586</link>
			<description><![CDATA[<p>Another question, I&#039;m trying to test the location services option by just having the map make a marker where I&#039;m located and be centered around my location, and it&#039;s not working. Am I missing something? I have done the following, </p><p>-Added the online maps location services script and checked create marker. When the app is built my coordinates seem to be at 0,0</p><p>-Made my own script with a reference to the online maps script and the online maps location services script, and used the SetLocation() method with whatever current lat long positions the online maps locations services script finds, When the app is built my coordinates seem to be at 0,0</p><br /><p>How can I make this work please? I&#039;m trying to make a navigation application.</p>]]></description>
			<author><![CDATA[null@example.com (dahbur.jamal)]]></author>
			<pubDate>Fri, 15 Apr 2016 07:34:10 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=586#p586</guid>
		</item>
	</channel>
</rss>
