Bstar vue supermap

SuperMap iClient 3D for WebGL(built on Cesium) Component for Vue 2.0

Version: 1.1.4 Updated: 10/23/2018

By: huhongxun1986 License: MIT

Downloads Last 30 Days: 50

Install

npm i bstar-vue-supermap
yarn add bstar-vue-supermap

CDNs

bundle.run: https://bundle.run/bstar-vue-supermap

jsDelivr: https://cdn.jsdelivr.net/npm/bstar-vue-supermap

unpkg: https://unpkg.com/bstar-vue-supermap

VUE SUPERMAP CESIUM

SuperMap iClient 3D for WebGL(built on Cesium) components for Vue 2.x

npm Travis Package Quality npm license

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 is the path of the Cesium library, such as
  // cesiumPath: './statics/Cesium'
  // use online reference for http
  // cesiumPath: 'http://support.supermap.com.cn:8090/webgl/Build'
  // use online reference for https
  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, huhongxun 378555669@qq.com

Thanks

I referenced a lot from the vue-baidu-map project. Thanks very much!

Categories: Vue js