[GeoNode-users] Problem change MAP_BASELAYERS in GeoNode 2.0c1.

Polo Núñez javier2001 at hotmail.com
Fri Aug 12 13:26:13 PDT 2016


Edit the settings.py file: /usr/local/lib/python2.7/dist-packages/geonode


Change:


MAP_BASELAYERS = [{
    "source": {"ptype": "gxp_olsource"},
    "type": "OpenLayers.Layer",
    "args": ["No background"],
    "visibility": False,
    "fixed": True,
    "group":"background"
}, {
    "source": {"ptype": "gxp_osmsource"},
    "type": "OpenLayers.Layer.OSM",
    "name": "mapnik",
    "visibility": True,
    "fixed": True,
    "group": "background"
}]


Next sudo reboot server.


The problem is not correct.


what am I doing wrong?


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160812/c27ca2a9/attachment.html>


More information about the geonode-users mailing list