<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Using location radius to do something?]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=720&amp;type=atom" />
	<updated>2017-12-07T12:39:12Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=720</id>
		<entry>
			<title type="html"><![CDATA[Re: Using location radius to do something?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3124#p3124" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-12-07T12:39:12Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3124#p3124</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Using location radius to do something?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3121#p3121" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[magglemitch]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=573</uri>
			</author>
			<updated>2017-12-07T05:06:03Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3121#p3121</id>
		</entry>
</feed>
