MCPcopy Create free account
hub / github.com/ElevenIjusee/CesiumContextMenu

github.com/ElevenIjusee/CesiumContextMenu @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
59 symbols 89 edges 5 files 0 documented · 0% updated 4y ago★ 521 open issues

Browse by type

Functions 50 Types & classes 9
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CesiumContextMenu

cesium's context menu plug-in, while already built-in some common operations, the author is relatively busy, later there will be time to continue to integrate common small functions to the menu. If you like it, please star it!

cesium的右键菜单插件,同时已经内置了一些常用操作,作者比较忙,后期有时间会继续集成常用小功能到菜单中。喜欢的话就点个赞吧,后续更新不迷路

个人其他项目: https://github.com/ElevenIjusee?tab=repositories

图片

Get Started

npm i cesium-context-menu

or

yarn add cesium-context-menu

Use

import cesiumContextMenu from 'cesium-context-menu';
/*
    viewer: cesium's viewer Object
*/
new cesiumContextMenu(viewer);

Tips

if you want to use screen shot tool: You need to install html2canvas and import it before you use cseiumContextMenu, and set following code when you create cesium's viewer Object:

contextOptions: {
  webgl: {
     preserveDrawingBuffer: true,
  },
}, 

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 50
Class 6
Interface 3

Languages

TypeScript100%

Modules by API surface

src/cesiumsdk/cat.ts23 symbols
src/types/ijusee.d.ts20 symbols
src/contextmenu/menu.ts11 symbols
src/index.ts5 symbols

For agents

$ claude mcp add CesiumContextMenu \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page