npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@gisershare/cim-vue-sdk

v0.1.44

Published

天规院十一院cim各类功能模块封装(基于vue2版本)

Downloads

17

Readme

supermap-webgl-vue

安装教程

npm i @gisershare/supermap-webgl-vue

使用教程

1. 在public文件夹下存放supermap webgl最新安装包
2. 在index.html中引入相关js库和css库
    <link href="./examples/webgl/css/pretty.css" rel="stylesheet">
    <link href="./Build/Cesium/Widgets/widgets.css" rel="stylesheet">
    <script src="./examples/webgl/js/tooltip.js"></script>
    <script src="./examples/webgl/js/Convert.js"></script>
    <script src="./examples/webgl/js/dat.gui.min.js"></script>	
    <script type="text/javascript" src="./examples/webgl/js/supermap/SuperMap.Include.js"></script>	
    <script src="./examples/webgl/js/jquery.min.js"></script>
    <script src="./Build/Cesium/Cesium.js"></script>
   在main.js中引入安装的包
    import VueiClientWebgl from '@gisershare/supermap-webgl-vue'
    import '@gisershare/supermap-webgl-vue1/lib/supermap-webgl-vue.css'
    Vue.use(VueiClientWebgl);
3. 使用方法
   ①三维场景viewer
   <sm-viewer ref="viewer" s3mUrl="http://192.168.80.24:8090/iserver/services/3D-QingXieSheYingMoXing/rest/realspace"></sm-viewer>
   在vue单页面中,可以通过this.$refs.viewer.viewer获取场景的viewer;
   目前支持传入一个s3m缓存地址
   ②可视域分析
   <sm-3dViewshed :visibility.sync="visibility"></sm-3dViewshed>
   ③剖面分析
   <sm-3dProfile :visibility.sync="visibility"></sm-3dProfile>
   ④天际线分析
   <sm-3dSightline :visibility.sync="visibility"></sm-3dSightline>
   ⑤二三维测量
   <sm-3dMeasure :visibility.sync="visibility"></sm-3dMeasure>
   ⑥卷帘分析
   <sm-3dRollBlind :layerObjs="layerObjs" :visibility.sync="visibility"></sm-3dRollBlind>
   ⑦天际线分析
   <sm-3dSkyline :visibility.sync="visibility"></sm-3dSkyline>
   ⑧阴影率分析
   <sm-3dShadowquery :visibility.sync="visibility"></sm-3dShadowquery>
   ⑨多类型裁剪
   <sm-3dClipPanel :visibility.sync="visibility"></sm-3dClipPanel>
   ⑩光源及天气模拟
   <sm-sceneEffectPanel :visibility.sync="visibility"></sm-sceneEffectPanel>
   ⑪飞行漫游
   <sm-FlyRoam :visibility.sync="visibility"></sm-FlyRoam>
   注释:visibility: Boolen 控制面板显隐
   4. 源码详情
   关注微信公众号:gisshare 和作者取得联系