Skip to main content

Map Style

A basemap style with your changes: layers hidden or recolored, from the style editor. Wire it into the deck's map style.

Syntax​

{ "id": "n1", "op": "map-style", "name": "map-style", "x": 0, "y": 0, "params": {} }

One out of it starts at "sourcePort": "mapStyle".

Inputs​

This operator has no input ports.

Parameters​

ParameterKindDefaultChoices
baseStyleurl"https://basemaps.cartocdn.com/gl/dark-matter-nolabels-gl-style/style.json"
overridesfield{"layers":[],"global":{}}

Outputs​

PortType
mapStylevalue

Details​

  • Category: Output
  • Operator: map-style

Older projects​

Projects saved before documents used operator classes. These convert to map-style when they open: MapStyleConfiguratorOp.