<?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 — What if I want to get more than one Place Type?]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1702</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1702&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in What if I want to get more than one Place Type?.]]></description>
		<lastBuildDate>Thu, 04 Mar 2021 15:53:10 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: What if I want to get more than one Place Type?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7215#p7215</link>
			<description><![CDATA[<p>I was able to do it successfully. <br />Thank you very much, it was very helpful.</p>]]></description>
			<author><![CDATA[null@example.com (kmasaki)]]></author>
			<pubDate>Thu, 04 Mar 2021 15:53:10 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7215#p7215</guid>
		</item>
		<item>
			<title><![CDATA[Re: What if I want to get more than one Place Type?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7214#p7214</link>
			<description><![CDATA[<p>C# has many ways to do this, for example, through closures:<br /></p><div class="codebox"><pre><code>// ...
Texture2D image = PoiIcons[i].Image;
// ...
}).OnComplete += s =&gt; OnComplete(s, image);
// ...
private void OnComplete(string s, Texture2D Image)
// ...</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 04 Mar 2021 15:35:27 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7214#p7214</guid>
		</item>
		<item>
			<title><![CDATA[Re: What if I want to get more than one Place Type?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7213#p7213</link>
			<description><![CDATA[<p>Hello.</p><p>One more question came up.<br />I couldn&#039;t figure out how to switch the icon image for each type if I can&#039;t search for multiple types at the same time.</p><p>I have created a class that contains &quot;Image&quot; and &quot;Type&quot;.<br /><span class="postimg"><img src="http://s.kota2.net/1614870253.png" alt="PunBB bbcode test" /></span></p><p>I used a For statement in the &quot;PoiIcon class&quot; array to search for each type.<br /><span class="postimg"><img src="http://s.kota2.net/1614870254.png" alt="PunBB bbcode test" /></span></p><p>However, I could not find a way to set the texture corresponding to the type in &quot;OnComplete&quot;.<br /><span class="postimg"><img src="http://s.kota2.net/1614870255.png" alt="PunBB bbcode test" /></span></p><p>Please let me know if you have a better solution.</p>]]></description>
			<author><![CDATA[null@example.com (kmasaki)]]></author>
			<pubDate>Thu, 04 Mar 2021 15:24:49 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7213#p7213</guid>
		</item>
		<item>
			<title><![CDATA[Re: What if I want to get more than one Place Type?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7194#p7194</link>
			<description><![CDATA[<p>I understand, thanks for the reply.</p>]]></description>
			<author><![CDATA[null@example.com (kmasaki)]]></author>
			<pubDate>Wed, 24 Feb 2021 10:48:57 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7194#p7194</guid>
		</item>
		<item>
			<title><![CDATA[Re: What if I want to get more than one Place Type?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7188#p7188</link>
			<description><![CDATA[<p>Hello.</p><p>I just checked Google Places API documentation and now type only takes one value and all the following are ignored.<br /><a href="https://developers.google.com/places/web-service/search#PlaceSearchRequests">https://developers.google.com/places/we … chRequests</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 23 Feb 2021 17:28:13 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7188#p7188</guid>
		</item>
		<item>
			<title><![CDATA[What if I want to get more than one Place Type?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7184#p7184</link>
			<description><![CDATA[<p>Hello.</p><p>What if I want to get more than one Place Type?<br />I wrote the following but could not get it.</p><div class="codebox"><pre><code>OnlineMapsGooglePlaces.FindNearby(
            apiKey,
            new OnlineMapsGooglePlaces.NearbyParams(
                longitude, // Longitude
                latitude, // Latitude
                5000) // Radius
                {
                types = &quot;church|park&quot;
            }).OnComplete += OnComplete;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (kmasaki)]]></author>
			<pubDate>Tue, 23 Feb 2021 15:21:29 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7184#p7184</guid>
		</item>
	</channel>
</rss>
