<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Find closest gps location]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=314&amp;type=atom" />
	<updated>2016-10-31T09:45:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=314</id>
		<entry>
			<title type="html"><![CDATA[Re: Find closest gps location]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1411#p1411" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Calculate the distance between your position and the position of each enemy using OnlineMapsUtils.DistanceBetweenPoints, and find the minimum value.<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsUtils.html#a03c68a7ad2512d685e0383dd617a6d18">http://infinity-code.com/doxygen/online … dd617a6d18</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-10-31T09:45:23Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1411#p1411</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Find closest gps location]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1410#p1410" />
			<content type="html"><![CDATA[<p>Hi, first of all, thanks a lot for this asset, it&#039;s wonderfull and very easy to work with.</p><p>I have a small question, i have multiple gps locations set in my game, and i &#039;d like to find the closest from my player.<br />To be more precise, i have&nbsp; 5 or 6 enemies in different areas of the world, and i&#039;d like to know which one is the closest to me, and return it.</p><p>Thanks in advance if you can help me.</p>]]></content>
			<author>
				<name><![CDATA[tp]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=287</uri>
			</author>
			<updated>2016-10-30T22:39:35Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1410#p1410</id>
		</entry>
</feed>
