Skip to content

Commit 786b4fc

Browse files
committed
Add a comment on how to set the default basemap
1 parent 7b5980c commit 786b4fc

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

xcengine/wrapper.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,15 @@ def main():
102102
viewer_context = server.ctx.get_api_ctx("viewer")
103103
viewer_context.config_items = {
104104
"config.json": json.dumps(
105-
{"server": {"url": args.xcube_viewer_api_url}, "branding": {}}
105+
{
106+
"server": {"url": args.xcube_viewer_api_url},
107+
"branding": {
108+
# "layerVisibilities": {
109+
# Set the default basemap.
110+
# "baseMaps.CartoDB.Dark Matter": True
111+
# }
112+
},
113+
}
106114
),
107115
"images/logo.png": logo_data,
108116
}

0 commit comments

Comments
 (0)