<div dir="ltr">Today I have received the following information from Google support:<div><br></div><div><i>We are in the process of completely disallowing keyless usage, but currently, it will work intermittently.  It will break again.  Please keep in mind that keyless usage was deprecated about a year ago, but it was only with changes starting June 11th that we started to cause it to break [1].  <br><br>The code from that Github page is 1) not passing a key, 2) using a really obsolete method of loading the API and 3) redundantly trying to load the API after it was already loaded.  The Github code is outside of our scope of support, but you may want to reach out to the issues section there [2].  I do note that that code hasn't been updated in 3 years, so you may need to investigate a more modern solution to do what you are trying to do.<br><br>[1] <a href="https://developers.google.com/maps/billing/important-updates#starting_june_11th" rel="noreferrer" target="_blank">https://developers.google.com/maps/billing/important-updates#starting_june_11th</a><br>[2] <a href="https://github.com/boundlessgeo/gxp/issues" rel="noreferrer" target="_blank">https://github.com/boundlessgeo/gxp/issues</a></i><br></div><div><br></div><div>hope it clarifies things</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 5, 2018 at 9:45 AM Paolo Corti <<a href="mailto:pcorti@gmail.com">pcorti@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Dear Ana<div>I am not sure about Google Earth.</div><div>But about the API error: we started experiencing the same error yesterday. Google base layers were not working. But this morning they are back.</div><div>In our case we also get this error: "You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors."</div><div>Let's monitor the situation...</div><div>ps Thanks to Bart who helped us to debug the issue with the second error message.</div><div>Paolo</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 4, 2018 at 2:52 AM Ana Boljevic <<a href="mailto:ana.boljevic@cedis.me" target="_blank">ana.boljevic@cedis.me</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div class="m_4084517611867299150m_3093066820943846054m_2871837233568669086m_-9199707980614556054WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Dear Paolo,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Yes, I can find GOOGLE_API_KEY in html source of the page (see paolo.JPG).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Please answer does Geonode 2.6.3 work with Google Earth anymore?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">If Yes, how can we fix this issue? What to change in what file?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Ana Boljević<u></u><u></u></span></b></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Direkcija za razvoj, pristup mreži i ICT<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Sektor za ICT<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Služba za GIS i tehničku bazu podataka<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><img width="85" height="29" id="m_4084517611867299150m_3093066820943846054m_2871837233568669086m_-9199707980614556054Picture_x0020_1" alt="CEDIS"></span></b><b><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">DOO „Crnogorski elektrodistributivni sistem“ Podgorica<u></u><u></u></span></b></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Ivana Milutinovića br.12, Podgorica<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Tel: +382 20 408 473<u></u><u></u></span></p>
<p class="MsoNormal"><u><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="http://www.cedis.me/" target="_blank"><span style="color:#0563c1">www.cedis.me</span></a><u></u><u></u></span></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#00b050"><img border="0" width="27" height="29" id="m_4084517611867299150m_3093066820943846054m_2871837233568669086m_-9199707980614556054Picture_x0020_2" alt="jelkica"></span><span lang="SR-LATN-ME" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#00b050">Please
 do not print this e-mail unless you really need to<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Paolo Corti [mailto:<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>]
<br>
<b>Sent:</b> Wednesday, October 3, 2018 4:12 PM<br>
<b>To:</b> Ana Boljevic <<a href="mailto:ana.boljevic@cedis.me" target="_blank">ana.boljevic@cedis.me</a>><br>
<b>Cc:</b> <a href="mailto:geonode-users-bounces@lists.osgeo.org" target="_blank">geonode-users-bounces@lists.osgeo.org</a>; geonode-users <<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>><br>
<b>Subject:</b> Re: [GeoNode-users] Google Earth (Satellite) doesn't work anymore on Geonode 2.6.3<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hello Ana<u></u><u></u></p>
<div>
<p class="MsoNormal">if you look at the html source of the page, can you see if the Google API is called using your GOOGLE_API_KEY?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">By the way it is not a good practice to manually change the main GeoNode settings file. The recommended approach is setting the variable (in your case GOOGLE_API_KEY) as an environment variable of your wsgi processor of your web server
 (for example uwsgi).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">best<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Paolo <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Wed, Oct 3, 2018 at 3:50 AM Ana Boljevic <<a href="mailto:ana.boljevic@cedis.me" target="_blank">ana.boljevic@cedis.me</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Dear Geonode Community,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">We have one issue, if someone can help.<br>
We have put into file:<br>
 /usr/local/lib/python2.7/dist-packages/geonode/settings.py <br>
<br>
   GOOGLE_API_KEY = '***************************'<br>
<br>
Inside MAP_BASELAYERS code lines, insert and save the following:<br>
{<br>
    "source": {"ptype": "gxp_googlesource",<br>
    "apiKey": GOOGLE_API_KEY},<br>
    "group":"background",<br>
    "name":"SATELLITE",<br>
    "visibility": False,<br>
    "fixed": True},<br>
<br>
When we try to reach google satellite Baselayer from Chrome (Developer tools) we receive the following message (attachment google_satellite.JPG):<br>
Google Maps JavaScript API warning: NoApiKeys <a href="https://developers.google.com/maps/documentation/javascript/error-messages" target="_blank">
https://developers.google.com/maps/documentation/javascript/error-messages</a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="m_4084517611867299150m_3093066820943846054m_2871837233568669086m_-9199707980614556054m-5141533857706488795m-4305307798193981486msoplaintext">If you can give us any help or idea how to resolve this problem we would be very thankful.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Best regards,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="color:#1f497d">Ana Boljević</span></b><u></u><u></u></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="color:#1f497d">Direkcija za razvoj, pristup mreži i ICT</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="color:#1f497d">Sektor za ICT</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="color:#1f497d">Služba za GIS i tehničku bazu podataka</span><u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><b><span lang="SR-LATN-ME" style="color:#1f497d">DOO „Crnogorski elektrodistributivni sistem“ Podgorica</span></b><u></u><u></u></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="color:#1f497d">Ivana Milutinovića br.12, Podgorica</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="color:#1f497d">Tel: +382 20 408 473</span><u></u><u></u></p>
<p class="MsoNormal"><u><span lang="SR-LATN-ME" style="color:#1f497d"><a href="http://www.cedis.me/" target="_blank"><span style="color:#0563c1">www.cedis.me</span></a></span></u><u></u><u></u></p>
<p class="MsoNormal"><span lang="SR-LATN-ME" style="color:#00b050">Please do not print this e-mail unless you really need to</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal">Paolo Corti<br>
Geospatial software developer<br>
web: <a href="http://www.paolocorti.net" target="_blank">http://www.paolocorti.net</a><br>
twitter: @capooti<br>
skype: capooti<u></u><u></u></p>
</div>
</div>
</div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_4084517611867299150m_3093066820943846054m_2871837233568669086gmail_signature" data-smartmail="gmail_signature">Paolo Corti<br>Geospatial software developer<br>web: <a href="http://www.paolocorti.net" target="_blank">http://www.paolocorti.net</a><br>twitter: @capooti<br>skype: capooti</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Paolo Corti<br>Geospatial software developer<br>web: <a href="http://www.paolocorti.net" target="_blank">http://www.paolocorti.net</a><br>twitter: @capooti<br>skype: capooti</div>