This package has been deprecated

Author message:

This project is no longer maintained, please install vue-cesium instead

vue-supermap-cesium
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

VUE SUPERMAP CESIUM

SuperMap WebGL3D components for Vue 2.x

Languages

Documentation

https://zouyaoji.top/vue-supermap-cesium

Get Start

Installation

npm i --save vue-supermap-cesium

Initialization

import Vue from 'vue'
import SuperMapCesium from 'vue-supermap-cesium'
 
Vue.use(SuperMapCesium, {
  // cesiumPath 是指引用的Cesium的文件夹路径, 如
  // cesiumPath: './statics/Cesium' , 或者在线引用
  // cesiumPath: 'http://support.supermap.com.cn:8090/webgl/Build'
  cesiumPath: 'http://support.supermap.com.cn:8090/webgl/Build'
})

Usage

<template>
<div class="content">
  <sm-viewer>
  </sm-viewer>
</div>
</template>
 
<style>
.content {
  background-color: #f9f9f9;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
</style>

Contributing

Contributing Guide

License

MIT License

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

Package Sidebar

Install

npm i vue-supermap-cesium

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

160 kB

Total Files

22

Last publish

Collaborators

  • zouyaoji