<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — GPS Location Marker Problem]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2162&amp;type=atom" />
	<updated>2023-09-06T22:29:36Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2162</id>
		<entry>
			<title type="html"><![CDATA[Re: GPS Location Marker Problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9179#p9179" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Something like that:<br /></p><div class="codebox"><pre><code>using UnityEngine;

namespace InfinityCode.OnlineMapsSupport
{
    public class CreateGPSMarkerWithoutMove : MonoBehaviour
    {
        private void Start()
        {
            OnlineMapsLocationService.instance.OnLocationInited += OnLocationInited;
        }

        private void OnLocationInited()
        {
            Vector2 location = OnlineMapsLocationService.instance.position;
            OnlineMapsMarkerManager.CreateItem(location, &quot;My Marker&quot;);
        }
    }
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2023-09-06T22:29:36Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9179#p9179</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[GPS Location Marker Problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9178#p9178" />
			<content type="html"><![CDATA[<p>Hey, I saw there was already an answer to a very similar question, but the problem is that I can&#039;t solve it using this answer, so maybe you can help me.</p><p>I can move the location marker, which is a completely unnecessary feature, so if there is any solution on how to disable this movement, I would appreciate it.</p>]]></content>
			<author>
				<name><![CDATA[vitvarh]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2683</uri>
			</author>
			<updated>2023-09-06T11:39:20Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9178#p9178</id>
		</entry>
</feed>
