<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — OnlineMapsLocationService can't create marker 2d]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=347&amp;type=atom" />
	<updated>2016-12-20T11:35:24Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=347</id>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMapsLocationService can't create marker 2d]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1549#p1549" />
			<content type="html"><![CDATA[<p>Thank you for your help.</p>]]></content>
			<author>
				<name><![CDATA[hung_nguyen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=310</uri>
			</author>
			<updated>2016-12-20T11:35:24Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1549#p1549</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMapsLocationService can't create marker 2d]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1548#p1548" />
			<content type="html"><![CDATA[<p>There are several ways, for example:<br />1. Remove all markers, except the player:<br /></p><div class="codebox"><pre><code>foreach (OnlineMapsMarker marker in OnlineMaps.instance.markers)
{
    if (marker != OnlineMapsLocationService.marker) marker.Dispose();
}
OnlineMaps.instance.markers = new[] {OnlineMapsLocationService.marker as OnlineMapsMarker};</code></pre></div><p>2. Remove all markers, and create a player marker again:<br /></p><div class="codebox"><pre><code>2.OnlineMaps.instance.RemoveAllMarkers();
OnlineMapsLocationService.marker = OnlineMaps.instance.AddMarker(OnlineMapsLocationService.instance.position);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-12-20T07:38:32Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1548#p1548</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMapsLocationService can't create marker 2d]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1547#p1547" />
			<content type="html"><![CDATA[<p>I understood the problem.<br />When i use OnlineMaps.RemoveAllMarkers () method, it also remove the marker at user location.<br />Is there anyway to work around?</p>]]></content>
			<author>
				<name><![CDATA[hung_nguyen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=310</uri>
			</author>
			<updated>2016-12-20T07:24:05Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1547#p1547</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMapsLocationService can't create marker 2d]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1546#p1546" />
			<content type="html"><![CDATA[<p>Hello.</p><p>I just checked the creation of 2d marker using Location Service. It works well.<br />Maybe you have any messages in the console (Window / Console) ?!<br />If the problem persists, please send your scene (as a package) to support (support@infinity-code.com). I will check it and tell you exactly what is wrong.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-12-20T05:59:12Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1546#p1546</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[OnlineMapsLocationService can't create marker 2d]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1545#p1545" />
			<content type="html"><![CDATA[<p>Hello.<br />I can&#039;t create marker 2d in OnlineMapsLocationService (it does not show anything on map).<br />It works without problem with 3d marker.<br />Could you tell me how to solve it?<br />Thank you.</p>]]></content>
			<author>
				<name><![CDATA[hung_nguyen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=310</uri>
			</author>
			<updated>2016-12-20T03:02:07Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1545#p1545</id>
		</entry>
</feed>
