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

32 Views Asked by At

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?

1

There are 1 best solutions below

0
On BEST ANSWER

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"