<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p><span style="background-color:white;">Dear Paolo,</span></p>
<p><span style="background-color:white;"><br>
</span></p>
<p><span style="background-color:white;">Please see attachment again (apikeys.JPG). We believe that our browser receive google apikey and that not in category keyless users.<br>
Much more we believe that in GeoNode 2.6.3 baselayer Google Earth stop working because of:<br>
"<font style="font-family: Roboto, sans-serif, serif, "EmojiFont";" size="2" face="Roboto,sans-serif" color="#212121"><span style="font-size:14px;font-weight:normal;text-transform:none;">If you are loading Maps JavaScript API from the deprecated v2 path with
 an old v2 key, you will get the</span></font><font style="font-family: Roboto, sans-serif, serif, "EmojiFont";" size="2" face="Roboto,sans-serif" color="#212121"><span style="font-size:14px;font-weight:normal;text-transform:none;"> </span></font><font style="font-family: Courier New, serif, "EmojiFont";" face="Courier New" color="#212121"><span style="font-size:;font-weight:normal;text-transform:none;">NoApiKeys</span></font><font style="font-family: Roboto, sans-serif, serif, "EmojiFont";" size="2" face="Roboto,sans-serif" color="#212121"><span style="font-size:14px;font-weight:normal;text-transform:none;"> </span></font><font style="font-family: Roboto, sans-serif, serif, "EmojiFont";" size="2" face="Roboto,sans-serif" color="#212121"><span style="font-size:14px;font-weight:normal;text-transform:none;">warning,
 even if you specified the</span></font><font style="font-family: Roboto, sans-serif, serif, "EmojiFont";" size="2" face="Roboto,sans-serif" color="#212121"><span style="font-size:14px;font-weight:normal;text-transform:none;"> </span></font><font style="font-family: Courier New, serif, "EmojiFont";" size="-1" face="Courier New">key</font><font style="font-family: Roboto, sans-serif, serif, "EmojiFont";" size="2" face="Roboto,sans-serif" color="#212121"><span style="font-size:14px;font-weight:normal;text-transform:none;"> </span></font><font style="font-family: Roboto, sans-serif, serif, "EmojiFont";" size="2" face="Roboto,sans-serif" color="#212121"><span style="font-size:14px;font-weight:normal;text-transform:none;">parameter.
 Please check the</span></font><font style="font-family: Roboto, sans-serif, serif, "EmojiFont";" size="2" face="Roboto,sans-serif" color="#212121"><span style="font-size:14px;font-weight:normal;text-transform:none;"> </span></font><a href="https://developers.google.com/maps/documentation/javascript/v2tov3" target="_blank" rel="noopener noreferrer" style="text-decoration:none;"><font style="font-family: Roboto, sans-serif, serif, "EmojiFont";" size="2" face="Roboto,sans-serif" color="#039BE5"><span style="font-size:14px;font-weight:normal;text-transform:none;">v2
 to v3 upgrade guide</span></font></a><font style="font-family: Roboto, sans-serif, serif, "EmojiFont";" size="2" face="Roboto,sans-serif" color="#212121"><span style="font-size:14px;font-weight:normal;text-transform:none;"> </span></font><font style="font-family: Roboto, sans-serif, serif, "EmojiFont";" size="2" face="Roboto,sans-serif" color="#212121"><span style="font-size:14px;font-weight:normal;text-transform:none;">and
 migrate your application to Maps JavaScript API v3.</span></font>"<br>
Please see apikeys2.JPG in attachment.  <br>
One more time, does GeoNode v2.6.3 can overcome this issue?<br>
</span></p>
<p><span style="background-color:white;"><br>
</span></p>
<p><span style="background-color:white;">Regards,</span><br>
</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style=""><b style="font-family:Tahoma; font-size:13px"></b>
<div style="font-family:Tahoma,serif,EmojiFont; font-size:13px; margin:0px"><font size="1" face="Tahoma,serif,EmojiFont"><span style="font-size:13px"><font size="2" face="Calibri,sans-serif,serif,EmojiFont" color="#1F497D"><span style="font-size:11pt" lang="sr-Latn-ME"><b>Ana
 Boljević</b></span></font></span></font></div>
<div style="font-family:Tahoma,serif,EmojiFont; font-size:13px; margin:0px"><font size="1" face="Tahoma,serif,EmojiFont"><span style="font-size:13px"><font size="2" face="Calibri,sans-serif,serif,EmojiFont" color="#1F497D"><span style="font-size:11pt" lang="sr-Latn-ME">Direkcija
 za razvoj, pristup mreži i ICT</span></font></span></font></div>
<div style="font-family:Tahoma,serif,EmojiFont; font-size:13px; margin:0px"><font size="1" face="Tahoma,serif,EmojiFont"><span style="font-size:13px"><font size="2" face="Calibri,sans-serif,serif,EmojiFont" color="#1F497D"><span style="font-size:11pt" lang="sr-Latn-ME">Sektor
 za ICT</span></font></span></font></div>
<div style="font-family:Tahoma,serif,EmojiFont; font-size:13px; margin:0px"><font size="1" face="Tahoma,serif,EmojiFont"><span style="font-size:13px"><font size="2" face="Calibri,sans-serif,serif,EmojiFont" color="#1F497D"><span style="font-size:11pt" lang="sr-Latn-ME">Služba
 za GIS i tehničku bazu podataka</span></font></span></font></div>
<div style="font-family:Tahoma,serif,EmojiFont; font-size:13px; margin:0px"><font size="1" face="Tahoma,serif,EmojiFont"><span style="font-size:13px"><img class="EmojiInsert" size="0" id="OWAPstImg673612" style="max-width:85px; max-height:29px; width:85px" tabindex="0" src="cid:a7a9ffbf-8afe-4c41-995a-14b7d46f40a0"></span></font></div>
<div style="font-family:Tahoma,serif,EmojiFont; font-size:13px; margin:0px"><font size="1" face="Tahoma,serif,EmojiFont"><span style="font-size:13px"><font size="2" face="Calibri,sans-serif,serif,EmojiFont" color="#1F497D"><span style="font-size:11pt" lang="sr-Latn-ME"><b>DOO
 „Crnogorski elektrodistributivni sistem“ Podgorica</b></span></font></span></font></div>
<div style="font-family:Tahoma,serif,EmojiFont; font-size:13px; margin:0px"><font size="1" face="Tahoma,serif,EmojiFont"><span style="font-size:13px"><font size="2" face="Calibri,sans-serif,serif,EmojiFont" color="#1F497D"><span style="font-size:11pt" lang="sr-Latn-ME">Ivana
 Milutinovića br.12, Podgorica</span></font></span></font></div>
<div style="font-family:Tahoma,serif,EmojiFont; font-size:13px; margin:0px"><font size="1" face="Tahoma,serif,EmojiFont"><span style="font-size:13px"><font size="2" face="Calibri,sans-serif,serif,EmojiFont" color="#1F497D"><span style="font-size:11pt" lang="sr-Latn-ME">Tel:
 +382 20 408 473</span></font></span></font></div>
<div style="font-family:Tahoma,serif,EmojiFont; font-size:13px; margin:0px"><font size="1" face="Tahoma,serif,EmojiFont"><span style="font-size:13px"><a href="http://www.cedis.me/" target="_blank" rel="noopener noreferrer" id="LPNoLP"><font size="2" face="wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif,serif,EmojiFont"><span id="LPlnk439516" style="font-size:15px"><font size="3" face="Times New Roman,serif,serif,EmojiFont"><span id="LPlnk439516" style="font-size:12pt"><font size="2" face="Calibri,sans-serif,serif,EmojiFont" color="#0563C1"><span style="font-size:11pt" lang="sr-Latn-ME">www.cedis.me</span></font></span></font></span></font></a></span></font></div>
<div style="font-family:Tahoma,serif,EmojiFont; font-size:13px; margin:0px"><font size="1" face="Tahoma,serif,EmojiFont"><span style="font-size:13px"><img class="EmojiInsert" size="0" id="OWAPstImg199468" style="max-width:27px; max-height:29px; width:27px" tabindex="0" src="cid:6e247109-0ad6-444e-8b9d-41f53d2a3d14"><font size="2" face="Calibri,sans-serif,serif,EmojiFont" color="#00B050"><span style="font-size:11pt" lang="sr-Latn-ME">Please
 do not print this e-mail unless you really need to</span></font></span></font></div>
<div style="">
<div style="">
<div></div>
<div style="font-family:Tahoma; font-size:13px"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Paolo Corti <pcorti@gmail.com><br>
<b>Sent:</b> Friday, October 5, 2018 11:43:48 PM<br>
<b>To:</b> Ana Boljevic<br>
<b>Cc:</b> geonode-users-bounces@lists.osgeo.org; geonode-users; Bart van den Eijnden<br>
<b>Subject:</b> Re: [GeoNode-users] Google Earth (Satellite) doesn't work anymore on Geonode 2.6.3</font>
<div> </div>
</div>
<div>
<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>
</div>
</body>
</html>