-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
Description
Fail to add a base map in CartoView's, Map > Creat Map
Screen spot:
https://www.photobox.co.uk/my/photo/full?photo_id=501180308419
- Cartoview Version : 1.8.1
- Geonode Version : (2.6.x)
Config Files:
C:\Program Files (x86)\Cartoview\geonode\package\support\geonode.local_settings
C:\Program Files (x86)\Cartoview\geonode\geonode\settings.py
MAP_BASELAYERS = [{
"source": {"ptype": "gxp_olsource"},
"type": "OpenLayers.Layer",
"args": ["No background 11"],
"name": "background",
"visibility": False,
"fixed": True,
"group":"background"
},
# {
# "source": {"ptype": "gxp_olsource"},
# "type": "OpenLayers.Layer.XYZ",
# "title": "TEST TILE",
# "args": ["TEST_TILE", "http://test_tiles/tiles/${z}/${x}/${y}.png"],
# "name": "background",
# "attribution": "© TEST TILE",
# "visibility": False,
# "fixed": True,
# "group":"background"
# },
{
"source": {"ptype": "gxp_osmsource"},
"type": "OpenLayers.Layer.OSM",
"name": "mapnik",
"visibility": True,
"fixed": True,
"group": "background"
},
{
"source": {"ptype": "gxp_olsource"},
"type":"OpenLayers.Layer.WMS",
"title": "Test Basemap",
"name": "B20K_shp",
"group":"background",
"visibility": True,
"fixed": True,
"args":[
"B20K_shp",
"http://localhost:4040/geoserver/geonode/wms",
{
"layers":["geonode:B20K_shp"],
"format":"image/png",
"tiled": True,
"tilesOrigin": [835000, 824000]
},
{"buffer": 0}
]
}
The default basemap of geonode is OpenStreetMap. It cannot be changed from the config files. How is it possible to make a new base map in CartoView?
Reactions are currently unavailable