<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Location Services Not centering On location]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=175&amp;type=atom" />
	<updated>2016-06-26T21:42:14Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=175</id>
		<entry>
			<title type="html"><![CDATA[Re: Location Services Not centering On location]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=795#p795" />
			<content type="html"><![CDATA[<p>Hello.</p><p>I just checked it. Everything looks good.<br />Please send screenshots or video to show the problem.<br />We will immediately fix it, or give you advice on how to fix the problem.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-06-26T21:42:14Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=795#p795</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Location Services Not centering On location]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=793#p793" />
			<content type="html"><![CDATA[<p>Hello again,</p><p>Sorry to bother you again but I&#039;m using location services and I want my marker(showing my present location) to be centered on the map when found or location changed, however when it starts up, even though it&#039;s showing my location at the right place with the marker on the map, the map centers a little off of it, in fact it&#039;s not even in view I have to zoom out to see it. Any ideas? My GetLocationScript is simply </p><p>&nbsp; &nbsp; void Start () {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; OnlineMapsLocationService.instance.OnLocationChanged += OnLocationChanged;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; private void OnLocationChanged(Vector2 pos){<br />&nbsp; &nbsp; //&nbsp; &nbsp; OnlineMaps.instance.SetPosition (pos.x, pos.y);<br />&nbsp; &nbsp; &nbsp; &nbsp; OnlineMaps.instance.SetPositionAndZoom(pos.x, pos.y, 17);<br />&nbsp; &nbsp; }</p>]]></content>
			<author>
				<name><![CDATA[jamal.dahbur91]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=156</uri>
			</author>
			<updated>2016-06-26T13:14:15Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=793#p793</id>
		</entry>
</feed>
