<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Let&#8217;s Build an AutoSuggest Lightning Component with Google Places API	</title>
	<atom:link href="https://michaelsoriano.com/lightning-component-google-places/feed/" rel="self" type="application/rss+xml" />
	<link>https://michaelsoriano.com/lightning-component-google-places/</link>
	<description>I turn code into captivating user experiences for the web</description>
	<lastBuildDate>Mon, 30 May 2022 05:22:09 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>
		By: Shiv Kumar		</title>
		<link>https://michaelsoriano.com/lightning-component-google-places/#comment-44669</link>

		<dc:creator><![CDATA[Shiv Kumar]]></dc:creator>
		<pubDate>Mon, 30 May 2022 05:22:09 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsoriano.com/?p=6511#comment-44669</guid>

					<description><![CDATA[Can you share your helper code pls.]]></description>
			<content:encoded><![CDATA[<p>Can you share your helper code pls.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michael Soriano		</title>
		<link>https://michaelsoriano.com/lightning-component-google-places/#comment-40770</link>

		<dc:creator><![CDATA[Michael Soriano]]></dc:creator>
		<pubDate>Mon, 25 Apr 2022 15:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsoriano.com/?p=6511#comment-40770</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://michaelsoriano.com/lightning-component-google-places/#comment-40049&quot;&gt;Zee&lt;/a&gt;.

The key is in server-side code. It is not viewable by client. I agree that it shouldn&#039;t be hardcoded, there are ways to store this elsewhere that is more secure. But that goes beyond the scope of the tutorial.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://michaelsoriano.com/lightning-component-google-places/#comment-40049">Zee</a>.</p>
<p>The key is in server-side code. It is not viewable by client. I agree that it shouldn&#8217;t be hardcoded, there are ways to store this elsewhere that is more secure. But that goes beyond the scope of the tutorial.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Zee		</title>
		<link>https://michaelsoriano.com/lightning-component-google-places/#comment-40049</link>

		<dc:creator><![CDATA[Zee]]></dc:creator>
		<pubDate>Thu, 14 Apr 2022 16:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsoriano.com/?p=6511#comment-40049</guid>

					<description><![CDATA[In this example, I can probably easily get your &#039;key&#039;. What security is in place to prevent me from finding your key and then using it myself? Is there configuration on the google side that only allows requests from certain domains?]]></description>
			<content:encoded><![CDATA[<p>In this example, I can probably easily get your &#8216;key&#8217;. What security is in place to prevent me from finding your key and then using it myself? Is there configuration on the google side that only allows requests from certain domains?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michael Soriano		</title>
		<link>https://michaelsoriano.com/lightning-component-google-places/#comment-1717</link>

		<dc:creator><![CDATA[Michael Soriano]]></dc:creator>
		<pubDate>Wed, 17 Apr 2019 01:08:03 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsoriano.com/?p=6511#comment-1717</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://michaelsoriano.com/lightning-component-google-places/#comment-1716&quot;&gt;Joe&lt;/a&gt;.

I don&#039;t have the source in a public repo. But you can follow the steps above.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://michaelsoriano.com/lightning-component-google-places/#comment-1716">Joe</a>.</p>
<p>I don&#8217;t have the source in a public repo. But you can follow the steps above.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Joe		</title>
		<link>https://michaelsoriano.com/lightning-component-google-places/#comment-1716</link>

		<dc:creator><![CDATA[Joe]]></dc:creator>
		<pubDate>Wed, 17 Apr 2019 00:10:19 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsoriano.com/?p=6511#comment-1716</guid>

					<description><![CDATA[
this class is taking off the bullet, can you pls. share it. thanks]]></description>
			<content:encoded><![CDATA[<p>this class is taking off the bullet, can you pls. share it. thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michael Soriano		</title>
		<link>https://michaelsoriano.com/lightning-component-google-places/#comment-1715</link>

		<dc:creator><![CDATA[Michael Soriano]]></dc:creator>
		<pubDate>Fri, 25 Jan 2019 16:25:29 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsoriano.com/?p=6511#comment-1715</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://michaelsoriano.com/lightning-component-google-places/#comment-1712&quot;&gt;David Roberts&lt;/a&gt;.

Thank you as well David for sharing your solution.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://michaelsoriano.com/lightning-component-google-places/#comment-1712">David Roberts</a>.</p>
<p>Thank you as well David for sharing your solution.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michael Soriano		</title>
		<link>https://michaelsoriano.com/lightning-component-google-places/#comment-1714</link>

		<dc:creator><![CDATA[Michael Soriano]]></dc:creator>
		<pubDate>Mon, 17 Dec 2018 19:54:39 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsoriano.com/?p=6511#comment-1714</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://michaelsoriano.com/lightning-component-google-places/#comment-1713&quot;&gt;Alex J&lt;/a&gt;.

Win.getKey() is actually just a local method named getKey(). I&#039;ve updated the code above.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://michaelsoriano.com/lightning-component-google-places/#comment-1713">Alex J</a>.</p>
<p>Win.getKey() is actually just a local method named getKey(). I&#8217;ve updated the code above.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex J		</title>
		<link>https://michaelsoriano.com/lightning-component-google-places/#comment-1713</link>

		<dc:creator><![CDATA[Alex J]]></dc:creator>
		<pubDate>Sat, 15 Dec 2018 16:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsoriano.com/?p=6511#comment-1713</guid>

					<description><![CDATA[Could you explain what &quot;Win.getKey()&quot; is exactly? I know you&#039;re supposed to plugin your key in there but I am getting a &quot;Variable does not exist: Win&quot; error upon saving. Thanks!]]></description>
			<content:encoded><![CDATA[<p>Could you explain what &#8220;Win.getKey()&#8221; is exactly? I know you&#8217;re supposed to plugin your key in there but I am getting a &#8220;Variable does not exist: Win&#8221; error upon saving. Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: David Roberts		</title>
		<link>https://michaelsoriano.com/lightning-component-google-places/#comment-1712</link>

		<dc:creator><![CDATA[David Roberts]]></dc:creator>
		<pubDate>Fri, 07 Dec 2018 12:19:08 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsoriano.com/?p=6511#comment-1712</guid>

					<description><![CDATA[Hi Michael,
Many thanks for this elegant solution and great example.
I, too, was thrown by the helper.callServer hiccup but soon found your page about it.
I also stumbled on Win.get... functions in the class definition until I realised that it represented the name of the &#039;controller&#039; class we&#039;d created and also that that controller class had to be named in the lightning component.
e.g.
I also added implements=&quot;force:appHostable,flexipage:availableForAllPageTypes&quot; so I could add it to pages and, hopefully, mobile devices...
I added the display of latitude and longitude to the component:
  You selected: {!v.location} - {!v.latitude},{!v.longitude}
and in method getCityDetails
            component.set(&#039;v.latitude&#039;,placeDetails.result.geometry.location.lat);
            component.set(&#039;v.longitude&#039;,placeDetails.result.geometry.location.lng);
All working now.
I&#039;ll be using this to verify my addresses before using the new lightning map component which fails if the addresses are invalid. I&#039;ll have to do a check on each address I want to map.
So, once again, many thanks.]]></description>
			<content:encoded><![CDATA[<p>Hi Michael,<br />
Many thanks for this elegant solution and great example.<br />
I, too, was thrown by the helper.callServer hiccup but soon found your page about it.<br />
I also stumbled on Win.get&#8230; functions in the class definition until I realised that it represented the name of the &#8216;controller&#8217; class we&#8217;d created and also that that controller class had to be named in the lightning component.<br />
e.g.<br />
I also added implements=&#8221;force:appHostable,flexipage:availableForAllPageTypes&#8221; so I could add it to pages and, hopefully, mobile devices&#8230;<br />
I added the display of latitude and longitude to the component:<br />
  You selected: {!v.location} &#8211; {!v.latitude},{!v.longitude}<br />
and in method getCityDetails<br />
            component.set(&#8216;v.latitude&#8217;,placeDetails.result.geometry.location.lat);<br />
            component.set(&#8216;v.longitude&#8217;,placeDetails.result.geometry.location.lng);<br />
All working now.<br />
I&#8217;ll be using this to verify my addresses before using the new lightning map component which fails if the addresses are invalid. I&#8217;ll have to do a check on each address I want to map.<br />
So, once again, many thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alejandro		</title>
		<link>https://michaelsoriano.com/lightning-component-google-places/#comment-1711</link>

		<dc:creator><![CDATA[Alejandro]]></dc:creator>
		<pubDate>Fri, 26 Oct 2018 19:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsoriano.com/?p=6511#comment-1711</guid>

					<description><![CDATA[hello Michael Soriano you will have the css class = &quot;city_predictions&quot; so that it takes the effect of autocomplete? Thanks!!!]]></description>
			<content:encoded><![CDATA[<p>hello Michael Soriano you will have the css class = &#8220;city_predictions&#8221; so that it takes the effect of autocomplete? Thanks!!!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
