Public
Edited
Feb 3
2 forks
Also listed in…
OpenLayers
Insert cell
Insert cell
Insert cell
Insert cell
je = require("https://data.earth.jaxa.jp/api/javascript/v1.2.3/jaxa.earth.umd.js");
Insert cell
Insert cell
jelayer = await je.ol.createLayer({
ol,
collection: "https://s3.ap-northeast-1.wasabisys.com/je-pds/cog/v1/JAXA.EORC_ALOS.PRISM_AW3D30.v3.2_global/collection.json",
colorMap: {
min: 0,
max: 6000,
colors: "jet",
},
});
Insert cell
Insert cell
jelayer.getLegend(300,20,10);
Insert cell
viewof map = {
const target = html`<div style="width:100%;height:400px;">`;
yield target;
const map = new ol.Map({
target,
pixelRatio: 1,
layers: [
new ol.layer.Tile({
source: new ol.source.OSM(),
}),
jelayer,
],

view: new ol.View({
center: [0, 0],
zoom: 0,
projection: "EPSG:4326",
}),
});
return target;
}
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more