@akuno/vue-cesium

Vue 2.x components for CesiumJS.
968 1,917
Install
npm install @akuno/vue-cesium
Latest Version:2.4.4
Vue:2
License:MIT
Last Updated:Jul 30, 2026
Links: GitHub  ·  npm
Maintainer: akuno

VUE CESIUM

VueCesium, a Vue 2.x & Vue 3.x based component library of CesiumJS for GISer.

Travis npm npm license

Package Quality

Notice

This project will stop maintenance on December 31, 2022. At that time, installing vue-cesium from npm will default to the Vue3 version. Please use the Vue3 version of VueCesium as soon as possible.

Languages

Get Start

VueCesium, a Vue 2.x & Vue 3.x based component library of CesiumJS for GISer.

Support loading official CesiumJS, or third-party platforms based on CesiumJS:

Installation

npm i --save vue-cesium

Usage

// main.js
import Vue from 'vue'
import VueCesium from 'vue-cesium'
import lang from 'vue-cesium/lang/zh-hans'
// import lang from 'vue-cesium/lang/en-us'
Vue.use(VueCesium)
<template>
  <div class="viewer">
    <vc-viewer></vc-viewer>
  </div>
</template>

<style>
  .viewer {
    width: 100%;
    height: 400px;
  }
</style>

Configuration

// main.js
import lang from 'vue-cesium/lang/zh-hans'
// import lang from 'vue-cesium/lang/en-us'

Vue.use(VueCesium, {
  // cesiumPath is the web service address that guides the use of Cesium.js, which can be a local or CDN address such as
  // cesiumPath: /static/Cesium/Cesium.js
  // cesiumPath: 'https://unpkg.com/cesium/Build/Cesium/Cesium.js'
  // cesiumPath: 'https://cdn.jsdelivr.net/npm/cesium@latest/Build/Cesium/Cesium.js'
  cesiumPath: 'https://cdn.jsdelivr.net/npm/cesium@latest/Build/Cesium/Cesium.js',
  // If you need to use Cesium ion resources, you need to specify it. Go to https://cesium.com/ion/ to apply for an account and get Access Token. If it is not specified, it may cause the loading of CesiumIon's online images and terrain to fail.
  accessToken: 'Your Cesium Ion defaultAccessToken',
  lang: lang // 2.0.3+ //  zh-hans
})

License

MIT License

Copyright (c) 2018-present, zouyaoji 370681295@qq.com

Sponsors

See

Contributors

This project wouldn't exist without our amazing contributors

QQGroup

16533444

开心农场 数字视觉

Reference

Two good vue components projects: vue-baidu-map and vuelayers.

Related Packages

agile-cesium

Vue 2.x components for CesiumJS.

420
vue-cesium

Vue 3.x components for CesiumJS.

162,999 1,916
@dspacev-bundle/vue-cesium

Vue 3.x components for CesiumJS.

34,434 1,917
casc-cesium

Vue 3.x components for CesiumJS.

9,791
jixiang-cesium

���� vue-cesium

891 1,917

Version History

Version Released Vue License
2.4.4 2.6.14 MIT
2.4.3 2.6.14 MIT
2.4.2 2.6.14 MIT
2.4.1 2.6.14 MIT