[GeoNode-users] Google Earth (Satellite) doesn't work anymore on Geonode 2.6.3

Paolo Corti pcorti at gmail.com
Wed Oct 3 07:12:28 PDT 2018


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
>
> *[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
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181003/2b37dba6/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/20181003/2b37dba6/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/20181003/2b37dba6/attachment-0001.jpg>


More information about the geonode-users mailing list