Git Product home page Git Product logo

cesiumcontextmenu's Introduction

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,
  },
}, 

cesiumcontextmenu's People

Contributors

elevenijusee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cesiumcontextmenu's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.