memgraphdbmemgraph

Can I set the map style in Memgraph Lab using GSS?


Is there a way to use GSS code to force certain map type as background? I didn't find anything related to map styles in Graph Style Script language specification.

When I open Memgraph Lab I can manually select one of the map types: Detailed, Light, Dark, Basic or Satellite. How can I programmatically change the values?


Solution

  • You can do this by updating your GSS code and adding the @ViewStyle.Map directive. You can the define the style to be one of the following:

    tile-layer: string: "detailed" | "light" | "dark" | "basic" | "satellite"