Appearance
Map settings
kepler's map controls sit at the top right of the map: 3D, split view, legend, layer visibility, and — added by this plugin — charts and effects. They work as documented upstream; what changes in a dashboard is the space you have to spend on them.
A panel is not a full window
kepler was designed for a browser tab. A dashboard tile is often 400 pixels tall, and several of these controls assume more room than that.
The panel's answer is Show side panel, which hides kepler's layer and filter panel entirely. Worth turning off on a small tile: the map becomes a map, and you configure it by temporarily enlarging the panel or editing it. The saved configuration keeps the styling either way.
3D
Tilts the camera. Needed for extruded polygons, for stacked velocity-field levels, and for the two relief base maps — see Base maps and relief.
Two things to expect on a tilted map:
- Only rasters, markers and symbols follow the relief. Rasters lie on it and markers and symbols stand on it; points, paths, polygons and the other layers are drawn by deck.gl at their own altitude. See Rasters on the relief and Under the hood.
- Panning a tilted terrain map can make the camera jitter, an open kepler.gl issue (keplergl/kepler.gl#3394).
How close you can zoom
The panel option Maximum zoom (Map section) sets how close the camera may come: 22 by default, from 16 to 24. deck.gl, which draws kepler's layers, stops at 20 when told nothing, and at 20 the camera is still some 150 m from what it looks at: enough for a city, short of a building.
- 22, MapLibre's own default, brings it to about 40 m.
- 24 brings it to about 10 m, for 3D tiles, BIM models and Gaussian splat scans seen up close. With 3D on and the map tilted to the full 85°, the camera then stands at about eye height, looking along the street.
Past 24 nothing is gained: kepler's camera always looks at a point on the ground. Base maps past their own detail are enlarged rather than sharpened, satellite imagery most visibly. The option is the panel's, not kepler's: a configuration saved from the map does not change it.
Globe
kepler's globe projection works, and looks striking on a large panel. Two practical caveats in a dashboard: it wants a lot of pixels to be legible at all, and the viewport-publishing channel describes a rectangle in degrees, which is a poor description of what a globe is showing.
Legend
Shows the colour and size encodings for the visible layers, and for a WMS, an ArcGIS service or a query's picture tiles with a legend_url the service's own legend (see Styles and legends). It is part of the saved configuration, so a provisioned dashboard can open with it already on: open it, then save the map configuration (its uiState.mapControls.mapLegend.active is then true in the panel's mapConfig). Which layers it lists is chosen under Interactions → Legend, where a layer can be left out of the legend and stay on the map — see Interactions. It can be resized from its top edge as well as its bottom, so one sitting in a bottom corner grows without being moved first, and it moves by its title.
On a small tile it covers a meaningful share of the map. A stat panel or a text panel beside the map is often a better legend than the legend.
Bookmarks
Switched on under Interactions → Bookmarks, the list of saved views sits beside the map control and takes room as the legend does; it moves and resizes the same way. See Interactions.
Split maps
Two synchronised views of the same data with different layers visible in each. Genuinely useful for before/after comparisons, and expensive: a split map is two sets of WebGL contexts, which brings the budget below into play sooner. Bookmarks and the camera animation are not available on a split map, nor on the globe.
The WebGL context budget
Maps go black when there are too many
Each map holds two WebGL contexts — MapLibre's and deck.gl's — and browsers cap the total at around sixteen. Past that the browser evicts the oldest and those maps go black, with Too many active WebGL contexts in the console.
So roughly eight maps per page, fewer with split views.
The mitigation is Grafana's own: put maps in collapsed rows. Grafana does not render panels inside a collapsed row, and collapsing one releases its contexts. The plugin's layer gallery dashboard is built this way for exactly this reason — thirteen maps, five collapsible rows, two open at a time.
If a dashboard genuinely needs many maps visible at once, the answer is usually fewer, larger maps with more layers each.
Upstream: Map settings · Map styles
Written against kepler.gl 3.3.0-alpha.20. See Upstream documentation.