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

wise-map

v3.0.3

Published

一款基于WebGL技术实现的三维地球客户端开发平台 wise-map

Downloads

85

Readme

wise-map 介绍

wise-map 三维可视化平台 是一款基于 WebGL 技术实现的三维客户端开发平台,基于 Cesium (opens new window)优化提升与 B/S 架构设计,支持多行业扩展的轻量级高效能 GIS 开发平台,能够免安装、无插件地在浏览器中高效运行,并可快速接入与使用多种 GIS 数据和三维模型,呈现三维空间的可视化,完成平台在不同行业的灵活应用。

wise-map 平台可用于构建无插件、跨操作系统、 跨浏览器的三维 GIS 应用程序。平台使用 WebGL 来进行硬件加速图形化,跨平台、跨浏览器来实现真正的动态大数据三维可视化。通过 wise-map 产品可快速实现浏览器和移动端上美观、流畅的三维地图呈现与空间分析。

这里封装了一套完整的 vue 组件库,可快速实现地图的加载,及各个功能是快速实现,可在短时间内搭建地图相关的项目。

官方链接

基础展示

wise-map 组件文档

WiseMap 介绍

公司官网

快速开始

请提前配置安装 Node,npm/yarn,Vue CLI 脚手架,建议使用 VSCode 开发工具;

安装

npm install wise-map
或
yarn add wise-map

引用

把 WiseMapLib 拷贝到 public 文件夹中 (WiseMapLib 联系管理员获取)

在 index.html 文件中引用

<script type="text/javascript" src="WiseMapLib/include-lib.js" libpath="WiseMapLib/" include="haoutil,turf,zz3d,zz3d-camera,font-awesome,web-icons,POI,dom2img,ZZWiseMap"></script>

在 vue 工程中 main.js 中引用

import WiseMap from 'wise-map';
import 'wise-map/index.css';
Vue.use(WiseMap);

快速使用

替换 App.vue 内容

<template>
  <div id="app">
    <zz-map :list="list" :isRotate="true" @createSceneFinish="createSceneFinish" @loadMapServeFinish="loadMapServeFinish"></zz-map>
    <zz-layer v-if="isViewer" :list="treeList" @checkChange="checkChange"></zz-layer>
    <zz-baselayer v-if="isViewer"></zz-baselayer>
    <zz-toolbar v-if="isViewer" :checkLayers="checkLayerList"></zz-toolbar>
  </div>
</template>
<script>
export default {
  name: "MapHome",
  components: {},
  data() {
    return {
      list: [
        {
          url: "http://localhost:18080",
          name: "示例数据",
          resourceId: ["Library://示例数据/地图/示例数据.MapDefinition"],
          type: "WISEMAP"
        },
      ],
      isViewer: false,
      checkLayerList: [],
      treeList: [],
    };
  },
  mounted() {},
  methods: {
    createSceneFinish(viewer) {
      window.viewer = viewer;
    },
    loadMapServeFinish({ originalData, processData, localLayers, treeList, SESSION, mapConfig, mapListConfig }) {
      this.isViewer = true;
      this.treeList = treeList;
    },
    checkChange(list) {},
  },
};
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  position: absolute;
  width: 100%;
  height: 100%;
}
</style>

启动服务

npm run serve

恭喜你已完成可以预览了!