Notebooks 2.0 is here.

Public
Edited
Jan 31, 2024
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

mapx.ask(viewAdd ? 'view_add' : 'view_remove', {idView: viewId}).then(o => o)
Insert cell
Insert cell
Insert cell
mapx.ask('set_view_layer_transparency', {idView: viewId, value: viewlayerTransparency}).then(() => viewlayerTransparency)
Insert cell
Insert cell
viewof viewFilterNumericLower = html`<input type="range" min="10" max="88" value="10"></input>`
Insert cell
Insert cell
views = mapx.ask('get_views')
Insert cell
mapx.ask('get_views_id_open')
Insert cell
Insert cell
mapx.ask('get_view_meta', {idView: viewId})
Insert cell
Insert cell
mapx.ask('get_view_meta_vt_attribute', {idView: viewId})
Insert cell
Insert cell
mapx.ask('get_view_legend_image', {idView: viewId}).then(function(data) {
const img = document.createElement("img");
img.setAttribute('src', data);
return img;
});
Insert cell
Insert cell
import {newMapxManager} from "a043a158ccf4fa6c"
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more