[GeoNode-users] Google Earth (Satellite) doesn't work anymore on Geonode 2.6.3
Paolo Corti
pcorti at gmail.com
Fri Oct 5 06:45:38 PDT 2018
Dear Ana
I am not sure about Google Earth.
But about the API error: we started experiencing the same error yesterday.
Google base layers were not working. But this morning they are back.
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."
Let's monitor the situation...
ps Thanks to Bart who helped us to debug the issue with the second error
message.
Paolo
On Thu, Oct 4, 2018 at 2:52 AM Ana Boljevic <ana.boljevic at cedis.me> wrote:
> Dear Paolo,
>
>
>
> Yes, I can find GOOGLE_API_KEY in html source of the page (see paolo.JPG).
>
> Please answer does Geonode 2.6.3 work with Google Earth anymore?
>
> If Yes, how can we fix this issue? What to change in what file?
>
>
>
> Regards,
>
>
>
> *Ana Boljević*
>
> Direkcija za razvoj, pristup mreži i ICT
>
> Sektor za ICT
>
> Služba za GIS i tehničku bazu podataka
>
> *[image: CEDIS]*
>
> *DOO „Crnogorski elektrodistributivni sistem“ Podgorica*
>
> Ivana Milutinovića br.12, Podgorica
>
> Tel: +382 20 408 473
>
> *www.cedis.me <http://www.cedis.me/>*
>
> [image: jelkica]Please do not print this e-mail unless you really need to
>
>
>
>
>
>
>
> *From:* Paolo Corti [mailto:pcorti at gmail.com]
> *Sent:* Wednesday, October 3, 2018 4:12 PM
> *To:* Ana Boljevic <ana.boljevic at cedis.me>
> *Cc:* geonode-users-bounces at lists.osgeo.org; geonode-users <
> geonode-users at lists.osgeo.org>
> *Subject:* Re: [GeoNode-users] Google Earth (Satellite) doesn't work
> anymore on Geonode 2.6.3
>
>
>
> Hello Ana
>
> if you look at the html source of the page, can you see if the Google API
> is called using your GOOGLE_API_KEY?
>
> 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).
>
> best
>
> Paolo
>
>
>
> On Wed, Oct 3, 2018 at 3:50 AM Ana Boljevic <ana.boljevic at cedis.me> wrote:
>
> Dear Geonode Community,
>
>
>
> We have one issue, if someone can help.
> We have put into file:
> /usr/local/lib/python2.7/dist-packages/geonode/settings.py
>
> GOOGLE_API_KEY = '***************************'
>
> Inside MAP_BASELAYERS code lines, insert and save the following:
> {
> "source": {"ptype": "gxp_googlesource",
> "apiKey": GOOGLE_API_KEY},
> "group":"background",
> "name":"SATELLITE",
> "visibility": False,
> "fixed": True},
>
> When we try to reach google satellite Baselayer from Chrome (Developer
> tools) we receive the following message (attachment google_satellite.JPG):
> Google Maps JavaScript API warning: NoApiKeys
> https://developers.google.com/maps/documentation/javascript/error-messages
>
>
>
> If you can give us any help or idea how to resolve this problem we would
> be very thankful.
>
>
>
> Best regards,
>
>
>
> *Ana Boljević*
>
> Direkcija za razvoj, pristup mreži i ICT
>
> Sektor za ICT
>
> Služba za GIS i tehničku bazu podataka
>
> *DOO „Crnogorski elektrodistributivni sistem“ Podgorica*
>
> Ivana Milutinovića br.12, Podgorica
>
> Tel: +382 20 408 473
>
> *www.cedis.me <http://www.cedis.me/>*
>
> Please do not print this e-mail unless you really need to
>
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
> --
>
> Paolo Corti
> Geospatial software developer
> web: http://www.paolocorti.net
> twitter: @capooti
> skype: capooti
>
--
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181005/b8a4c7a5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2178 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181005/b8a4c7a5/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1092 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181005/b8a4c7a5/attachment-0001.jpg>
More information about the geonode-users
mailing list