<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Markers]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2001&amp;type=atom" />
	<updated>2022-07-21T09:15:38Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2001</id>
		<entry>
			<title type="html"><![CDATA[Re: Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8464#p8464" />
			<content type="html"><![CDATA[<p>No. I pointed you to a specific line that you need to look at in order to understand how to iterate over all the markers.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-07-21T09:15:38Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8464#p8464</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8463#p8463" />
			<content type="html"><![CDATA[<p>Do I need JSON FILE on this example?</p>]]></content>
			<author>
				<name><![CDATA[i_filippidis]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2126</uri>
			</author>
			<updated>2022-07-20T19:45:44Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8463#p8463</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8462#p8462" />
			<content type="html"><![CDATA[<p>Iterate over all the markers and perform a distance check on each one.<br />How to iterate over all the markers (line 103):<br /><a href="https://infinity-code.com/atlas/online-maps/pages/SaveMapStateExample.html">https://infinity-code.com/atlas/online- … ample.html</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-07-20T16:14:44Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8462#p8462</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8461#p8461" />
			<content type="html"><![CDATA[<p>I want to do it for all markers that I placed in map.This display only one marker.How can I display for multiple markers?</p>]]></content>
			<author>
				<name><![CDATA[i_filippidis]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2126</uri>
			</author>
			<updated>2022-07-20T15:17:06Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8461#p8461</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8453#p8453" />
			<content type="html"><![CDATA[<p>Unfortunately, I didn&#039;t understand your question.<br />Please rephrase this in more detail.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-07-18T17:05:44Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8453#p8453</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8452#p8452" />
			<content type="html"><![CDATA[<p>OK I read it again and I understand what you mean.I think I have it. Something else how can I do it for all markers?<br />Thanks in advantage</p>]]></content>
			<author>
				<name><![CDATA[i_filippidis]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2126</uri>
			</author>
			<updated>2022-07-18T14:15:37Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8452#p8452</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8451#p8451" />
			<content type="html"><![CDATA[<p>Check out the example I sent you the link to.<br />Line 35 shows how to do this.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-07-17T17:24:38Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8451#p8451</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8450#p8450" />
			<content type="html"><![CDATA[<p>How can I do that?I don&#039;t understand I&#039;m new in programming.Sorry</p>]]></content>
			<author>
				<name><![CDATA[i_filippidis]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2126</uri>
			</author>
			<updated>2022-07-17T16:58:15Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8450#p8450</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8449#p8449" />
			<content type="html"><![CDATA[<p>Calculate the distance from the airplane to the marker.<br />If the distance is less than some threshold, you have reached the marker and need to show information.<br /><a href="https://infinity-code.com/atlas/online-maps/pages/DistanceAndDirectionExample.html">https://infinity-code.com/atlas/online- … ample.html</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-07-17T16:53:24Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8449#p8449</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8448#p8448" />
			<content type="html"><![CDATA[<p>I have a player(airplane) which moves on world map. I have placed markers in each capital of countries with label which gives information about countries. I want when player pass above the marker to display label with country information.</p>]]></content>
			<author>
				<name><![CDATA[i_filippidis]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2126</uri>
			</author>
			<updated>2022-07-17T15:45:11Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8448#p8448</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8447#p8447" />
			<content type="html"><![CDATA[<p>1. OnlineMapsControlBase.GetCoords converts screen position to coordinates. If you want to convert world position to coordinates you need to use OnlineMapsTileSetControl.GetCoordsByWorldPosition.<br /><a href="https://infinity-code.com/doxygen/online-maps/classOnlineMapsTileSetControl.html#a5312d877363f166bb1a9571b58011257">https://infinity-code.com/doxygen/onlin … 1b58011257</a><br />2. This condition will never be true. <br />Both sides must have exactly the same coordinates for this to work, which is nearly impossible.</p><p>Please explain in detail what you want to do and I will try to explain how you can achieve it.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-07-17T15:10:07Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8447#p8447</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8446#p8446" />
			<content type="html"><![CDATA[<p>Hello Alex,<br />I use this to display label but it doesn&#039;t work.Where am I wrong? I have placed the script to gameObject.</p><p>void Update()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; if (OnlineMapsControlBase.instance.GetCoords(transform.position) == marker.position)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Log(marker.label);<br />&nbsp; &nbsp; &nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; }</p>]]></content>
			<author>
				<name><![CDATA[i_filippidis]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2126</uri>
			</author>
			<updated>2022-07-17T15:01:05Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8446#p8446</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8445#p8445" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Use marker.position or marker.GetPosition.<br /><a href="https://infinity-code.com/doxygen/online-maps/classOnlineMapsMarkerBase.html#ad5c6b094e881baeb14837320d4968b61">https://infinity-code.com/doxygen/onlin … 20d4968b61</a></p><p>Use OnlineMaps.InMapView.<br /><a href="https://infinity-code.com/doxygen/online-maps/classOnlineMaps.html#a903338e51322b7e65aaf663637fbe9cd">https://infinity-code.com/doxygen/onlin … 3637fbe9cd</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-07-17T10:50:57Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8445#p8445</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8444#p8444" />
			<content type="html"><![CDATA[<p>Hello Alex,<br />I work with markers.I want to get the position of marker and compare it with coordinates of world map.How can I do that so to display marker&#039;s label?<br />Thanks in advandance<br />John</p>]]></content>
			<author>
				<name><![CDATA[i_filippidis]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2126</uri>
			</author>
			<updated>2022-07-16T23:09:00Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8444#p8444</id>
		</entry>
</feed>
