MapStage README

The project's README from github.com/hopechen067/MapStage. As one markdown file: README.md.

MapStage

English | 中文

Open-source MapStage tuner: map and globe projection, satellite, hypsometric relief, 3D terrain, region isolate, and JSON presets.

Live demo

→ https://hopechen067.github.io/MapStage/
Interactive tuner (EOX satellite + Mapterhorn DEM need internet. No install.)

What's new

Showcases

Current tuner: national map, 3D terrain, globe, isolate.

Tuner national map view
Tuner · national view (map)
Tuner 3D terrain
Tuner · 3D terrain
Tuner globe projection
Tuner · globe
Tuner isolate China terrain island
Tuner · isolate
Item Value
Skill folder mapstage
Runtime MapStage
Default basemap EOX Sentinel-2 cloudless (public demo WMTS; check provider terms)
Terrain / hillshade Mapterhorn DEM (runtime fetch; Terrarium encoding)
Water OpenFreeMap / OpenMapTiles vector water
Look CSS color grade, map/globe, isolate island, HanCity3D settlements
License MIT for code/docs; showcase media & third-party terms in LICENSE-EXCEPTIONS.md / NOTICE.md
Hosted demo Live demo — Pages publishes mapstage/tuner to the site root

Quick pull (install)

git clone pulls the whole repository, not a standalone skill.
You get README, showcases, the tuner, and the mapstage/ skill folder. Agents do not auto-discover that folder from a clone. Copy mapstage/ into your skills directory (step 2) if you want the agent skill.

1) Clone the repo

git clone https://github.com/hopechen067/MapStage.git
cd MapStage

Update later:

cd MapStage
git pull

2) Install as an agent skill

Skill folder (browse, not a second clone): mapstage/

One command — installs only that folder:

npx skills add hopechen067/MapStage --skill mapstage -g

GitHub CLI 2.90+:

gh skill install hopechen067/MapStage mapstage --scope user

Then reload skills. On Windows, add --copy to the npx command if symlink creation fails.

Or after a full clone, copy mapstage/ into your agent's skills directory.

3) Paste this to your agent

请使用 MapStage skill。
在线调参:https://hopechen067.github.io/MapStage/
仓库:https://github.com/hopechen067/MapStage
我会在 demo 里调好风格后导出 JSON,请按 SKILL.md / references 应用到地图场景(jumpTo + idle,encoding terrarium)。

Style workflow: open the live demo → tune → Copy JSON → paste to your agent.

Quick start (local tuner)

The live demo already runs on GitHub Pages. You do not start a server on your computer to use it.

Only if you want to edit files or preview offline do you start the tuner locally. Run the command on your machine; when it is up, open the local URL printed in the terminal (do not use file://).

cd mapstage/tuner

# Option A — Python 3
python -m http.server

# Option B — Node
npx --yes serve

Optional check (Node on PATH):

cd mapstage/tuner
node verify.mjs

Features

Configure map tiles

  1. Read NOTICE.md.
  2. Defaults: tuner/map-tiles.config.js (EOX + Mapterhorn).
  3. Personal endpoints: map-tiles.config.local.js (gitignored). See map-tiles.config.example.js.

EOX public tiles are typically non-commercial with attribution (~10 m). This project does not grant rights to any commercial map vendor.

Tiles are not bundled

Satellite and DEM tiles are fetched at runtime from configured URLs only.

Attribution & compliance

Install as an agent skill

The GitHub repo is the full project. The skill is only mapstage/.

  1. Install with npx skills add hopechen067/MapStage --skill mapstage -g, or gh skill install hopechen067/MapStage mapstage --scope user, or copy mapstage/ into your agent's skills directory.
  2. Reload agent skills so SKILL.md is discovered.
  3. Ask the agent to open the tuner, apply an exported JSON preset (version 3), or wire the same look into a MapStage scene.

Layout

.
├── LICENSE
├── LICENSE-EXCEPTIONS.md      # showcase / third-party / user geodata (not MIT)
├── NOTICE.md
├── DATA-PROVENANCE.md
├── SECURITY.md
├── README.md / README.zh-CN.md
├── showcases/                 # README images & sample frames
└── mapstage/
    ├── SKILL.md
    ├── agents/openai.yaml
    ├── references/
    ├── schemas/
    └── tuner/                 # published to GitHub Pages site root

Contributing / security

Next reads

MapStage (hopechen067/MapStage)

Searching Database…

这是什么?MapStage 是一个开源的地图与地球实时调参器——你可以调整卫星影像、分层设色地形、3D 地形和区域隔离效果,然后把外观导出为 JSON 预设。它还可以作为可安装的「智能体技能」提供,让 AI 编码智能体驱动同一个调参器。
这是我在浏览器里打开的网页应用,还是作为智能体技能安装的东西?两者都是——GitHub Pages 上托管了一个可直接使用、无需安装的在线演示;仓库里还包含一个「mapstage/」文件夹,可以单独安装为 AI 编码智能体的技能。
怎么开始使用调参器?只需打开在线演示,用「Copy JSON」导出预设——无需安装。若要离线编辑或运行,克隆仓库并运行本地调参器命令,然后打开终端中打印的本地地址(而不是 file://)。
查看卫星影像和地形需要联网吗?需要——默认的 EOX Sentinel-2 卫星底图和 Mapterhorn DEM 地形/山体阴影是运行时从外部服务器获取的,并未随项目打包。
默认卫星瓦片可以商用吗?默认不可以——EOX 瓦片通常仅限非商业用途且需要署名,项目也不授予任何商业地图厂商权利;你可以通过一个被 gitignore 的本地配置文件换成自己已获授权的瓦片地址。
能用自己的地图瓦片代替默认卫星影像吗?可以——创建一个 map-tiles.config.local.js(已被 gitignore),指向你获得使用授权的任意瓦片地址;它会覆盖默认的 EOX Sentinel-2 无云底图。
「区域隔离」是做什么的?它是一种可选模式,把选定的区域从周围地图中隔离出来,变成一个独立的 3D 地形岛。
「城市层级」功能是什么?HanCity3D 按层级渲染聚落——都城、大型、中型、小型、关隘、驿站和 ordos——让你在缩放时控制哪些城市和标记出现。
我在调参器里做出的外观能保存复用吗?可以——「Copy JSON」按钮会导出包含相机位置和资源开关的带版本预设,你可以把它粘贴回调参器或智能体中。
Size
35 MB
Stars
477
Updated
CommitSep 13
Age
2mo
Commits · 90 Days