18 Star 92 Fork 47

osmapgis / MapGIS-WebClient-JavaScript

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 8.82 KB
一键复制 编辑 原始数据 按行查看 历史

MapGIS Client for JavaScript

npm version apache licensed

MapGIS Client for JavaScript:是增强的MapGIS Web开发平台,集成Openlayers、Leaflet、MapBox、Cesium等框架,ECharts、MapV、D3等可视化库,在传统WebGIS开发基础之上,增强大数据、实时流数据的高效可视化表达和分析,为用户带来全新开发体验。

MapGIS

目录

一、开始

1、司马云

MapGIS Client for JavaScript

本脚本所有的示例都在对应的演示站点有详细的说明教程

2、GitHub

  1. GitHub是初始模板,物理上整合了leaflet,mapboxgl,cesium,openlayers, zondyclient等多个脚本,仅做技术验证&选型
  2. 司马云在逻辑上重构设计webclient-javascript,整合统一igserver,datastore,d3,mapv,echarts主流开源技术,基础平台长期维护
  3. 更多详情请查看司马云 www.smaryun.com

3、特性

四大地图引擎 融合热门前端可视化技术 多样化开发方式
MapGIS MapGIS MapGIS

4、示例

       

       

       

二、深入了解

1、代码结构

 |-- WebClient-JavaSript
   |-- docs                         -- JsDoc文档生成模块
      |-- cdn                       -- 模块依赖离线cdn
      |-- jsdoc-config              -- JsDoc的四大地图脚本的配置格式
      |-- templates                 -- JsDoc的内置模板
   |-- src                          -- sdk
      |-- cesiumjs                  -- cesium的代码结构
      |-- common                    -- 封装通用的基本类以及抽象类
      |-- config                    -- webpack 打包脚本
      |-- leaflet                   -- leaflet 代码结构
      |-- mapboxgl                  -- mapboxgl 代码结构
      |-- openlayers                -- openlayers 代码结构
      |-- service                   -- 封装igserver服务
   |-- website                      -- 示例网站
      |-- express                   -- node服务,在一些wind2003等老机器上替代IIS
      |-- public                    -- 网页的公共路径
      |-- src                       -- 示例网页的vue代码

2、运行示例网站

  1. 进入示例网站对应的目录

    cd website
  2. 安装依赖

    npm install
  3. 运行网页

    npm start

3、编译

如果您需修改源码,可自行编译打包生成OpenLayers、Leaflet、MapBoxGL、Cesium的地图引擎库、API文档。

  1. 安装依赖

    npm install
  2. 地图引擎编译

    npm run mapbox-debug           #编译调式版本 服务与开源地图脚本一起编译打包
    npm run mapbox-release         #编译生产版本 服务与开源地图脚本一起编译打包
    npm run mapbox-plugin-debug    #编译调式版本 服务与开源地图脚本独立编译打包
    npm run mapbox-plugin-release  #编译生产版本 服务与开源地图脚本独立编译打包
  3. 单独服务编译

    npm run service-debug          #单独编译服务调试版本
    npm run service-release        #单独编译服务生产版本
  4. API文档生成

    build-docs-leaflet             #生成API参考文档

3、问题

4、依赖

三、资源

Npm

  1. 原始地图引擎 (npm上直接获取)
    1. @mapgis/cesium
    2. @mapgis/mapbox-gl
    3. leaflet 1.7.0+
    4. ol 5+ 暂不支持6的版本
  2. MapGIS拓展插件 (npm上无法直接获取)
    1. webclient-cesium-plugin (内置了webclient-es6-service)
    2. webclient-mapboxgl-plugin (内置了webclient-es6-service)
    3. webclient-leaflet-plugin (内置了webclient-es6-service)
    4. webclient-openlayers-plugin (内置了webclient-es6-service)
    5. webclient-es6-service (针对纯RestfulAPI,不带地图视图)
  3. Vue组件 (npm上直接获取)
    1. @mapgis/webclient-vue-cesium
    2. @mapgis/webclient-vue-mapboxgl
    3. @mapgis/webclient-es6-service

1、在线资源

资源中心-云开发世界

2、在线服务

问答社区-云听

四、团队

五、证书

Copyright © 2020-2024 MapGIS

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's LICENSE file.

JavaScript
1
https://gitee.com/osmapgis/WebClient-JavaScript.git
git@gitee.com:osmapgis/WebClient-JavaScript.git
osmapgis
WebClient-JavaScript
MapGIS-WebClient-JavaScript
master

搜索帮助