Parameters

edit

Parameters

edit
map
Map to display. world, usa, europe
colors
An array of colors to use to shade the map. If 2 colors are specified, shades between them will be used. For example [‘#A0E2E2’, ‘#265656’]
size
Max number of regions to shade
exclude
Exclude this array of regions. For example [‘US’,‘BR’,‘IN’]
spyable
Setting spyable to false disables the inspect icon.

Queries

edit
queries object

This object describes the queries to use on this panel.

queries.mode
Of the queries available, which to use. Options: all, pinned, unpinned, selected
queries.ids
In selected mode, which query ids are selected.