[GeoNode-users] Add Bing maps to Geonode
Jose Cáceres
jose.atyus at gmail.com
Thu Nov 1 13:19:46 PDT 2018
Hi everyone,
I'm sorry if this has been asked before but I'm kind of new to this mailing
list.
I've been trying to add Bing Maps to my Geonode, so I have change this line:
BING_API_KEY = os.environ.get('BING_API_KEY', None)
for
BING_API_KEY = "My_Key"
in both usr/local/lib/python2.7/dist-packages/geonode/settings.py and
local_settings.py
I have also added this dict to the MAP_BASELAYERS in both tfo this same
files:
{
"source": {"ptype":"gxp_bingsource", "apiKey": BING_API_KEY},
"group":"background",
"name":"Aerial",
"visibility": False,
"fixed": True,
"group":"background"
}
Then I ran:
sudo geonode fix_baselayers
And it doesn't show any errors, I can even see:
GET http://localhost:8080/geoserver/rest/layers/Aerial.xml
But every time I do that, whenever I try to create a map in geonode, the
page never loads, and if I delete the previous snippet form both files, it
load without troubles, so definitely is something about adding the Bing
base map.
So any guidance about it it will be very much appreciated.
Kind Regards,
José
--
José David Cáceres
Ingeniero Ambiental
Máster en Tecnologías de la Información Geográfica
e-mail: jose.atyus at gmail.com
[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
Remitente
notificado con
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
01/11/18
14:07:13
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181101/b1d003ec/attachment.html>
More information about the geonode-users
mailing list