|
| 1 | +# MapGIS Client for Javascript |
| 2 | + |
| 3 | +[![npm version][npm-img]][npm-url] |
| 4 | +[](https://github.com/MapGIS/WebClient-JavaScript/blob/master/LICENSE) |
| 5 | + |
| 6 | +[npm-img]: https://img.shields.io/badge/npm-10.5.0-brightgreen |
| 7 | +[npm-url]: https://www.npmjs.com/package/@mapgis/webclient |
| 8 | + |
| 9 | +MapGIS Client for JavaScript:是增强的MapGIS Web开发平台,集成Openlayers、Leaflet、MapBox等框架ECharts、MapV、D3等可视化库,在传统WebGIS开发基础之上,增强大数据、实时流数据的高效可视化表达和分析,为用户带来全新开发体验。 |
| 10 | + |
| 11 | +<img alt="MapGIS" src="website/public/static/assets/logo/framework.png"> |
| 12 | + |
| 13 | +## 目录 |
| 14 | + |
| 15 | +- [开始](#目录) |
| 16 | + - [司马云](#司马云) |
| 17 | + - [github](#github) |
| 18 | + - [特性](#特性) |
| 19 | + - [示例](#示例) |
| 20 | +- [深入了解](#深入了解) |
| 21 | + - [编译](#编译) |
| 22 | + - [问题](#问题) |
| 23 | + - [依赖](#依赖) |
| 24 | +- [资源](#资源) |
| 25 | + - [在线资源](#在线资源) |
| 26 | + - [在线服务](#在线服务) |
| 27 | +- [团队](#团队) |
| 28 | +- [证书](#证书) |
| 29 | + |
| 30 | +### 司马云 |
| 31 | +[MapGIS Client for Javascript](http://develop.smaryun.com:8899/) |
| 32 | + |
| 33 | +### github |
| 34 | +1. github是初始模板,物理上整合了leaflet,mapboxgl,cesium,openlayers, zondyclient等多个脚本,仅做技术验证&选型 |
| 35 | +1. 司马云在逻辑上重构设计webclient-javascript,整合统一igserver,datastore,d3,mapv,echarts主流开源技术,基础平台长期维护 |
| 36 | +1. 更多详情请查看司马云 www.smaryun.com |
| 37 | + |
| 38 | +### 特性 |
| 39 | +|四大地图引擎|融合热门前端可视化技术|多样化开发方式| |
| 40 | +|:---|:---|:---| |
| 41 | +|<img alt="MapGIS" src="website/public/static/assets/bane/sub11.png">|<img alt="MapGIS" src="website/public/static/assets/bane/sub22.png">|<img alt="MapGIS" src="website/public/static/assets/bane/sub33.png">| |
| 42 | + |
| 43 | + |
| 44 | +### 示例 |
| 45 | +<p align="center"> |
| 46 | + <a href=""> |
| 47 | + <img src="website/public/static/assets/gallery/m3d-bim.png" height="150" /> |
| 48 | + </a> |
| 49 | + <a href=""> |
| 50 | + <img src="website/public/static/assets/gallery/m3d-geobody2.png" height="150" /> |
| 51 | + </a> |
| 52 | + <a href=""> |
| 53 | + <img src="website/public/static/assets/gallery/m3d-oblique.png" height="150" /> |
| 54 | + </a> |
| 55 | + <a href=""> |
| 56 | + <img src="website/public/static/assets/gallery/m3d-terrain.png" height="150" /> |
| 57 | + </a> |
| 58 | +</p> |
| 59 | +<p align="center"> |
| 60 | + <a href=""> |
| 61 | + <img src="website/public/static/assets/gallery/common_cluster.png" height="150" /> |
| 62 | + </a> |
| 63 | + <a href=""> |
| 64 | + <img src="website/public/static/assets/gallery/common_heater.png" height="150" /> |
| 65 | + </a> |
| 66 | + <a href=""> |
| 67 | + <img src="website/public/static/assets/gallery/common_marker_cluster.png" height="150" /> |
| 68 | + </a> |
| 69 | + <a href=""> |
| 70 | + <img src="website/public/static/assets/gallery/common_weibo.png" height="150" /> |
| 71 | + </a> |
| 72 | +</p> |
| 73 | +<p align="center"> |
| 74 | + <a href=""> |
| 75 | + <img src="website/public/static/assets/gallery/vectortile_blue.png" height="150" /> |
| 76 | + </a> |
| 77 | + <a href=""> |
| 78 | + <img src="website/public/static/assets/gallery/vectortile_dark.png" height="150" /> |
| 79 | + </a> |
| 80 | + <a href=""> |
| 81 | + <img src="website/public/static/assets/gallery/vectortile_light.png" height="150" /> |
| 82 | + </a> |
| 83 | + <a href=""> |
| 84 | + <img src="website/public/static/assets/gallery/vectortile_street.png" height="150" /> |
| 85 | + </a> |
| 86 | +</p> |
| 87 | + |
| 88 | +## 深入了解 |
| 89 | +### 编译 |
| 90 | +0. 安装依赖 |
| 91 | + ``` sh |
| 92 | + npm install |
| 93 | + ``` |
| 94 | + |
| 95 | +1. 地图引擎编译 |
| 96 | + ``` sh |
| 97 | + npm run mapbox-debug #编译调式版本 服务与开源地图脚本一起编译打包 |
| 98 | + npm run mapbox-release #编译生产版本 服务与开源地图脚本一起编译打包 |
| 99 | + npm run mapbox-plugin-debug #编译调式版本 服务与开源地图脚本独立编译打包 |
| 100 | + npm run mapbox-plugin-release #编译调式版本 服务与开源地图脚本独立编译打包 |
| 101 | + ``` |
| 102 | + |
| 103 | +2. 单独服务编译 |
| 104 | + ``` sh |
| 105 | + npm run service-debug #单独编译服务调试版本 |
| 106 | + npm run service-release #单独编译服务生产版本 |
| 107 | + ``` |
| 108 | +### 问题 |
| 109 | + |
| 110 | +* [判断多边形自相交?](https://github.com/MapGIS/WebClient-JavaScript/issues/18) |
| 111 | +* [后台空间分析出错误?](https://github.com/MapGIS/WebClient-JavaScript/issues/5) |
| 112 | + |
| 113 | +### 依赖 |
| 114 | + |
| 115 | +* leaflet [1.0+ ~ 1.5.1-](https://leafletjs.com/2019/05/08/leaflet-1.5.1.html) ([CDN链接](https://unpkg.com/leaflet@1.5.1/dist/leaflet.js)) |
| 116 | + * [Leaflet](http://leafletjs.com) version 1.0以上 1.5.1以下 |
| 117 | +* openlayer [5.0+](https://openlayers.org/) ([CDN链接](https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/build/ol.js)) |
| 118 | + * [OpenLayers](https://openlayers.org/) version 5.0+ |
| 119 | +* mapboxgl [1.9+]() ([CDN链接](https://www.npmjs.com/package/@mapgis/mapbox-gl)) |
| 120 | + * [MapboxGL](https://www.npmjs.com/package/@mapgis/mapbox-gl) version 1.9+ |
| 121 | + |
| 122 | + |
| 123 | +## 资源 |
| 124 | + |
| 125 | +### 在线资源 |
| 126 | +[资源中心-云开发世界](http://www.smaryun.com/dev/resource_center.html#/type27/tag184/page1) |
| 127 | + |
| 128 | +### 在线服务 |
| 129 | +[问答社区-云听](http://www.smaryun.com/cloudlisten/index.php) |
| 130 | + |
| 131 | +### 团队 |
| 132 | + |
| 133 | +* `service` [IGServer]() |
| 134 | +* `DataStore` [DataStore]() |
| 135 | +* `M3D` [M3D]() |
| 136 | + |
| 137 | +### 证书 |
| 138 | + |
| 139 | +Copyright © 2020-2024 MapGIS |
| 140 | + |
| 141 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 142 | +you may not use this file except in compliance with the License. |
| 143 | +You may obtain a copy of the License at |
| 144 | + |
| 145 | +> http://www.apache.org/licenses/LICENSE-2.0 |
| 146 | + |
| 147 | +Unless required by applicable law or agreed to in writing, software |
| 148 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 149 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 150 | +See the License for the specific language governing permissions and |
| 151 | +limitations under the License. |
| 152 | + |
| 153 | +A copy of the license is available in the repository's [LICENSE](./LICENSE) file. |
| 154 | +
|
| 155 | +
|
| 156 | +
|
0 commit comments