<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Google api autocomplete, how to limit the search range to a country]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=527&amp;type=atom" />
	<updated>2017-05-04T00:54:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=527</id>
		<entry>
			<title type="html"><![CDATA[Re: Google api autocomplete, how to limit the search range to a country]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2315#p2315" />
			<content type="html"><![CDATA[<p>Thank you very much, that&#039;s what i was looking for.</p>]]></content>
			<author>
				<name><![CDATA[ing.josorio]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=448</uri>
			</author>
			<updated>2017-05-04T00:54:39Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2315#p2315</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google api autocomplete, how to limit the search range to a country]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2314#p2314" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>int totalMarkers = OnlineMaps.instance.markers.Length;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-05-03T23:04:18Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2314#p2314</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google api autocomplete, how to limit the search range to a country]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2313#p2313" />
			<content type="html"><![CDATA[<p>The problem is that in my script I add a marker every time I draw a route, but I need to delete the route and the previous marker, the route can already be deleted, but the marker does not, with the instruction &quot;.RemoveMarkerAt&quot; I delete the marker according to its position in the array General of makers, but at the beginning there is only one marker, which is my position, so I need a way to know first if there is more than one marker, or know how many markers there are in total, and with that, The first with index 0</p>]]></content>
			<author>
				<name><![CDATA[ing.josorio]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=448</uri>
			</author>
			<updated>2017-05-03T22:59:37Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2313#p2313</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google api autocomplete, how to limit the search range to a country]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2312#p2312" />
			<content type="html"><![CDATA[<p>Hello.</p><p>You have direct access to the marker array (OnlineMaps.markers).<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMaps.html#acaaa5f9467206c2d836f1ad037143575">http://infinity-code.com/doxygen/online … d037143575</a></p><p>Or you can delete the marker using OnlineMaps.RemoveMarkerAt.<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMaps.html#a4e569976f88b1af741c61b8a86acd860">http://infinity-code.com/doxygen/online … 8a86acd860</a></p><p>But it is much more correct is store a reference to the marker in your script. <br />In this case, you will always have quick access to the marker, you can change the location and other properties, or remove the marker.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-05-03T22:30:32Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2312#p2312</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google api autocomplete, how to limit the search range to a country]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2311#p2311" />
			<content type="html"><![CDATA[<p>Hello, I was able to delete the drawn path, but what was not possible was to delete the marker, I need to delete the last of the marker array, but I do not know how to access that array</p>]]></content>
			<author>
				<name><![CDATA[ing.josorio]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=448</uri>
			</author>
			<updated>2017-05-03T21:37:35Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2311#p2311</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google api autocomplete, how to limit the search range to a country]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2310#p2310" />
			<content type="html"><![CDATA[<p>Hello, thank you very much, that helped me a lot, I have another question, I have a script that traces a route to a specific point, now I need to delete that route to draw another, How could I delete that route to draw a new one? thank you very much</p>]]></content>
			<author>
				<name><![CDATA[ing.josorio]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=448</uri>
			</author>
			<updated>2017-05-03T18:36:28Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2310#p2310</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google api autocomplete, how to limit the search range to a country]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2293#p2293" />
			<content type="html"><![CDATA[<p>Hello.</p><p>The &quot;component&quot; parameter can restrict the request to a country.<br />Unfortunately, I don&#039;t know how to directly restrict the request to a city, but you can specify the coordinates and radius of the search.<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsGooglePlacesAutocomplete.html#a59dfa443c3d6b741642839d4952c3836">http://infinity-code.com/doxygen/online … d4952c3836</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-05-03T00:55:49Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2293#p2293</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Google api autocomplete, how to limit the search range to a country]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2292#p2292" />
			<content type="html"><![CDATA[<p>I have a script that I complete with places entered in a text field, but I need the results you give me to be limited to a country or a city, I hope you can help me.</p>]]></content>
			<author>
				<name><![CDATA[ing.josorio]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=448</uri>
			</author>
			<updated>2017-05-03T00:48:38Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2292#p2292</id>
		</entry>
</feed>
