<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Using location radius to do something?]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=720</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=720&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Using location radius to do something?.]]></description>
		<lastBuildDate>Thu, 07 Dec 2017 12:39:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Using location radius to do something?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3124#p3124</link>
			<description><![CDATA[<p>Hello.</p><p>This behavior should be implemented by your own scripts.</p><p>To get the current GPS location, use OnlineMapsLocationServiceBase.position.<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsLocationServiceBase.html#a1ced3b12069bbb55866823444f547053">http://infinity-code.com/doxygen/online … 444f547053</a></p><p>To calculate the distance between locations, use OnlineMapsUtils.DistanceBetweenPoints.<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsUtils.html#ab8588eb7b2eba619d6c3a0bc84a165f2">http://infinity-code.com/doxygen/online … bc84a165f2</a><br />Example:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/DistanceAndDirectionExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 07 Dec 2017 12:39:12 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3124#p3124</guid>
		</item>
		<item>
			<title><![CDATA[Using location radius to do something?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3121#p3121</link>
			<description><![CDATA[<p>I was wondering if Online Maps had the capability to trigger something when the GPS is in a certain area. For example - being able to set a minimum lat/long and a maximum lat /long. Then when the gps is between those it will trigger a game object turning on.</p><p>I’d like to also have the ability to be able to switch this on an off (this is probably easy as just a bool)</p><p>Is this possible at all?</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (magglemitch)]]></author>
			<pubDate>Thu, 07 Dec 2017 05:06:03 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3121#p3121</guid>
		</item>
	</channel>
</rss>
