Skip to content

Commit 0893522

Browse files
committed
增加 jsdoc打包配置
1 parent aca4356 commit 0893522

File tree

15 files changed

+267
-105
lines changed

15 files changed

+267
-105
lines changed

build/jsdocs/leaflet/docs.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"opts": {
3+
"recurse": true,
4+
"template": "../../node_modules/jaguarjs-jsdoc",
5+
"destination": "./docs/leaflet"
6+
},
7+
"disqus":"",
8+
"tags": {
9+
"allowUnknownTags": true
10+
},
11+
"source": {
12+
"includePattern": ".+\\.js?$",
13+
"excludePattern": ".+\\\\src\\\\common\\\\iServer\\\\.*Service|Base.js?$",
14+
"include": [
15+
"src/common","src/leaflet"
16+
]
17+
},
18+
"plugins": ["plugins/markdown"],
19+
"templates": {
20+
"cleverLinks": false,
21+
"monospaceLinks": false,
22+
"default": {
23+
"outputSourceFiles": false
24+
},
25+
"applicationName": "iClient for Leaflet"
26+
}
27+
}

build/jsdocs/leaflet/index.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# SuperMap iClient for Leaflet API
2+
SuperMap iClient for Leaflet是一套基于Leaflet的GIS客户端应用程序开发工具,支持SuperMap iServer / iExpress / iPortal / Online地图和服务,同时提供了优秀的可视化功能。
3+
4+
* 官网(website):[http://iclient.supermapol.com/docs/leaflet.html#introduce](http://iclient.supermapol.com/docs/leaflet.html#introduce)
5+
6+
* 源码(source code):[https://github.com/SuperMap/iClient9/tree/master/src/leaflet](https://github.com/SuperMap/iClient9/tree/master/src/leaflet)
7+
<table><tr>
8+
<th width="33.3%">四驾马车</th><th width="33.3%"></th><th width="33.3%"></th>
9+
</tr><tr>
10+
<td><p>API for SuperMap iServer / iExpress / iPortal / Online</p>
11+
[L.supermap.mapService](L.supermap.mapService.html)<br>
12+
[L.supermap.featureService](L.supermap.featureService.html)<br>
13+
[L.supermap.spatialAnalystService](L.supermap.spatialAnalystService.html)<br>
14+
[L.supermap.networkAnalystService](L.supermap.networkAnalystService.html)<br>
15+
[L.supermap.trafficTransferAnalystService](L.supermap.trafficTransferAnalystService.html)<br>
16+
[L.supermap.addressMatchService](L.supermap.addressMatchService)</td>
17+
<td>
18+
<br>
19+
[L.supermap.processingService](L.supermap.processingService.html)<br>
20+
[L.supermap.dataFlowService](L.supermap.dataFlowService.html)<br>
21+
[L.supermap.webmap](L.supermap.webmap.html)<br>
22+
[SuperMap.iPortal](SuperMap.iPortal.html)<br>
23+
[SuperMap.Online](SuperMap.Online.html)<br>
24+
......</td>
25+
<td><p> </p></td>
26+
</tr></table>
27+
<table><tr>
28+
<th width="33.3%">可视化</th><th width="33.3%">地图</th><th width="33.3%">投影</th>
29+
</tr><tr>
30+
<td><p>丰富的可视化效果,矢量瓦片、客户端专题图、开源可视化库[ECharts](http://echarts.baidu.com/),[MapV](http://mapv.baidu.com/)</p>
31+
[L.supermap.tiledVectorLayer](L.supermap.tiledVectorLayer.html)<br>
32+
[L.supermap.graphicGroup](L.supermap.graphicGroup.html)<br>
33+
[L.supermap.dataFlowLayer](L.supermap.dataFlowLayer.html)<br>
34+
[L.supermap.rangeThemeLayer](L.supermap.rangeThemeLayer.html)<br>
35+
[L.supermap.echartsMapLayer](L.supermap.echartsMapLayer.html)<br>
36+
[L.supermap.mapVLayer](L.supermap.mapVLayer.html)<br>
37+
......</td>
38+
<td><p>丰富地图,iSevrer REST MAP、互联网地图、OGC服务</p>
39+
[L.supermap.tiledMapLayer](L.supermap.tiledMapLayer.html)<br>
40+
[L.supermap.imageMapLayer](L.supermap.imageMapLayer.html)<br>
41+
[L.supermap.baiduTileLayer](L.supermap.baiduTileLayer.html)<br>
42+
[L.supermap.baiduTileLayer](L.supermap.baiduTileLayer.html)<br>
43+
[L.supermap.tiandituTileLayer](L.supermap.tiandituTileLayer.html)<br>
44+
[L.supermap.wmtsLayer](L.supermap.wmtsLayer.html)<br>
45+
......</td>
46+
<td><p>扩展Leaflet投影,更易用</p>
47+
[L.Proj.Projection](L.Proj.Projection.html)<br>
48+
[L.CRS.NonEarthCRS](L.CRS.NonEarthCRS.html)<br>
49+
</tr></table>
50+
51+
## 参考API
52+
53+
* Leaflet API:[http://leafletjs.com/reference.html](http://leafletjs.com/reference.html)
54+
* ECharts API:[http://echarts.baidu.com/api.html#echarts](http://echarts.baidu.com/api.html#echarts)
55+
* MapV API: [https://github.com/huiyan-fe/mapv/blob/master/API.md](https://github.com/huiyan-fe/mapv/blob/master/API.md)

build/jsdocs/legacy/docs.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"opts": {
3+
"recurse": true,
4+
"template": "../../node_modules/jaguarjs-jsdoc",
5+
"destination": "./docs/legacy"
6+
},
7+
"disqus":"",
8+
"tags": {
9+
"allowUnknownTags": true
10+
},
11+
"source": {
12+
"includePattern": ".+\\.js?$",
13+
"excludePattern": ".+\\\\src\\\\common\\\\iServer\\\\.*Service|Base|Parameters.js?$",
14+
"include": [
15+
"src/common","src/legacy"
16+
]
17+
},
18+
"plugins": ["plugins/markdown"],
19+
"templates": {
20+
"cleverLinks": false,
21+
"monospaceLinks": false,
22+
"default": {
23+
"outputSourceFiles": false
24+
},
25+
"applicationName": "iClient for Legacy(iClient8C)"
26+
}
27+
}

build/jsdocs/legacy/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SuperMap iClient for Legacy(iClient8C) API
2+
3+
* 官网(website):[http://iclient.supermapol.com/docs/legacy.html#introduce](http://iclient.supermapol.com/docs/leaflet.html#introduce)
4+
5+
* 源码(source code):[https://github.com/SuperMap/iClient9/tree/master/src/legacy](https://github.com/SuperMap/iClient9/tree/master/src/leaflet)
6+
7+
## 参考API
8+
9+
* iClient8C API:[http://support.supermap.com.cn:8090/iserver/iClient/forJavaScript/apidoc/files/SuperMap/Map-js.html](http://support.supermap.com.cn:8090/iserver/iClient/forJavaScript/apidoc/files/SuperMap/Map-js.html)
10+
* ECharts API:[http://echarts.baidu.com/api.html#echarts](http://echarts.baidu.com/api.html#echarts)
11+
* MapV API: [https://github.com/huiyan-fe/mapv/blob/master/API.md](https://github.com/huiyan-fe/mapv/blob/master/API.md)

build/jsdocs/mapboxgl/docs.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"opts": {
3+
"recurse": true,
4+
"template": "../../node_modules/jaguarjs-jsdoc",
5+
"destination": "./docs/mapboxgl"
6+
},
7+
"disqus":"",
8+
"tags": {
9+
"allowUnknownTags": true
10+
},
11+
"source": {
12+
"includePattern": ".+\\.js?$",
13+
//"excludePattern": ".+\\\\src\\\\common\\\\iServer\\\\.*Service|Base.js?$",
14+
"include": [
15+
"src/mapboxgl"
16+
]
17+
},
18+
"plugins": ["plugins/markdown"],
19+
"templates": {
20+
"cleverLinks": false,
21+
"monospaceLinks": false,
22+
"default": {
23+
"outputSourceFiles": false
24+
},
25+
"applicationName": "iClient for MapboxGL"
26+
}
27+
}

build/jsdocs/mapboxgl/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# SuperMap iClient for MapboxGL API
2+
3+
4+
* 官网(website):[http://iclient.supermapol.com/docs/mapboxgl.html#introduce](http://iclient.supermapol.com/docs/leaflet.html#introduce)
5+
6+
* 源码(source code):[https://github.com/SuperMap/iClient9/tree/master/src/mapboxgl](https://github.com/SuperMap/iClient9/tree/master/src/leaflet)
7+
8+
## 参考API
9+
10+
* Mapbox GL JS API:[https://www.mapbox.com/mapbox-gl-js/api/](https://www.mapbox.com/mapbox-gl-js/api/)
11+
* ECharts API:[http://echarts.baidu.com/api.html#echarts](http://echarts.baidu.com/api.html#echarts)
12+
* MapV API: [https://github.com/huiyan-fe/mapv/blob/master/API.md](https://github.com/huiyan-fe/mapv/blob/master/API.md)

build/jsdocs/openlayers/docs.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"opts": {
3+
"recurse": true,
4+
"template": "../../node_modules/jaguarjs-jsdoc",
5+
"destination": "./docs/openlayers"
6+
},
7+
"disqus":"",
8+
"tags": {
9+
"allowUnknownTags": true
10+
},
11+
"source": {
12+
"includePattern": ".+\\.js?$",
13+
"excludePattern": ".+\\\\src\\\\common\\\\iServer\\\\.*Service|Base.js?$",
14+
"include": [
15+
"src/common","src/openlayers"
16+
]
17+
},
18+
"plugins": ["plugins/markdown"],
19+
"templates": {
20+
"cleverLinks": false,
21+
"monospaceLinks": false,
22+
"default": {
23+
"outputSourceFiles": false
24+
},
25+
"applicationName": "iClient for OpenLayers"
26+
}
27+
}

build/jsdocs/openlayers/index.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# SuperMap iClient for OpenLayers API
2+
SuperMap iClient for OpenLayers是一套基于OpenLayers的GIS客户端应用程序开发工具,支持SuperMap iServer / iExpress / iPortal / Online地图和服务,同时提供了优秀的可视化功能。
3+
4+
* 官网(website):[http://iclient.supermapol.com/docs/openlayers.html#introduce](http://iclient.supermapol.com/docs/openlayers.html#introduce)
5+
6+
* 源码(source code):[https://github.com/SuperMap/iClient9/tree/master/src/openlayers](https://github.com/SuperMap/iClient9/tree/master/src/openlayers)
7+
<table><tr>
8+
<th width="33.3%">四驾马车</th><th width="33.3%"></th><th width="33.3%"></th>
9+
</tr><tr>
10+
<td><p>API for SuperMap iServer / iExpress / iPortal / Online</p>
11+
[ol.supermap.MapService](ol.supermap.MapService.html)<br>
12+
[ol.supermap.FeatureService](ol.supermap.FeatureService.html)<br>
13+
[ol.supermap.SpatialAnalystService](ol.supermap.SpatialAnalystService.html)<br>
14+
[ol.supermap.NetworkAnalystService](ol.supermap.NetworkAnalystService.html)<br>
15+
[ol.supermap.TrafficTransferAnalystService](ol.supermap.TrafficTransferAnalystService.html)<br>
16+
[ol.supermap.AddressMatchService](ol.supermap.AddressMatchService.html)</td>
17+
<td>
18+
<br>
19+
[ol.supermap.ProcessingService](ol.supermap.ProcessingService.html)<br>
20+
[ol.supermap.DataFlowService](ol.supermap.DataFlowService.html)<br>
21+
[ol.supermap.Webmap](ol.supermap.Webmap.html)<br>
22+
[SuperMap.iPortal](SuperMap.iPortal.html)<br>
23+
[SuperMap.Online](SuperMap.Online.html)<br>
24+
......</td>
25+
<td><p> </p></td>
26+
</tr></table>
27+
<table><tr>
28+
<th width="33.3%">可视化</th><th width="33.3%">地图</th><th width="33.3%"></th>
29+
</tr><tr>
30+
<td><p>丰富的可视化效果,矢量瓦片、客户端专题图、开源可视化库[ECharts](http://echarts.baidu.com/),[MapV](http://mapv.baidu.com/)</p>
31+
[ol.source.VectorTileSuperMapRest](ol.source.VectorTileSuperMapRest.html)<br>
32+
[ol.source.Graphic](ol.source.Graphic.html)<br>
33+
[ol.source.DataFlow](ol.source.DataFlow.html)<br>
34+
[ol.source.Range](ol.source.Range.html)<br>
35+
[ol.source.Unique](ol.source.Unique.html)<br>
36+
[ol.source.Mapv](ol.source.Mapv.html)<br>
37+
......</td>
38+
<td><p>丰富地图,iSevrer REST MAP、互联网地图</p>
39+
[ol.source.TileSuperMapRest](ol.source.TileSuperMapRest.html)<br>
40+
[ol.source.ImageSuperMapRest](ol.source.ImageSuperMapRest)<br>
41+
[ol.source.Baidu](ol.source.Baidu.html)<br>
42+
[ol.source.Tianditu](ol.source.Tianditu.html)<br>
43+
......</td>
44+
<td><p></p>
45+
</tr></table>
46+
47+
## 参考API
48+
49+
* OpenLayers API:[http://openlayers.org/en/latest/apidoc/](http://openlayers.org/en/latest/apidoc/)
50+
* ECharts API:[http://echarts.baidu.com/api.html#echarts](http://echarts.baidu.com/api.html#echarts)
51+
* MapV API: [https://github.com/huiyan-fe/mapv/blob/master/API.md](https://github.com/huiyan-fe/mapv/blob/master/API.md)

dist/iclient9-leaflet.js

Lines changed: 11 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -17815,6 +17815,9 @@ var EchartsMapLayer = exports.EchartsMapLayer = _leaflet2.default.Layer.extend({
1781517815
* @param LeafletMap - {L.map}
1781617816
* @param api
1781717817
*/
17818+
/**
17819+
* Inspired by https://github.com/lzxue/echartsLayer
17820+
*/
1781817821
function LeafletMapCoordSys(LeafletMap, api) {
1781917822
this._LeafletMap = LeafletMap;
1782017823
this.dimensions = ['lng', 'lat'];
@@ -56724,7 +56727,7 @@ var NonEarthCRS = exports.NonEarthCRS = _leaflet2.default.Class.extend({
5672456727
var nonEarthCRS = exports.nonEarthCRS = function nonEarthCRS(options) {
5672556728
return new NonEarthCRS(options);
5672656729
};
56727-
_leaflet2.default.CRS.NonProjection = nonProjection;
56730+
_leaflet2.default.Projection.NonProjection = nonProjection;
5672856731

5672956732
_leaflet2.default.CRS.NonEarthCRS = nonEarthCRS;
5673056733

@@ -56745,6 +56748,9 @@ var _proj2 = _interopRequireDefault(_proj);
5674556748

5674656749
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5674756750

56751+
/**
56752+
* Inspired by https://github.com/kartena/Proj4Leaflet
56753+
*/
5674856754
_leaflet2.default.Proj = {};
5674956755

5675056756
_leaflet2.default.Proj._isProj4Obj = function (a) {
@@ -58861,7 +58867,9 @@ var VectorGrid = exports.VectorGrid = _leaflet2.default.GridLayer.extend({
5886158867
}
5886258868
}
5886358869

58864-
});
58870+
}); /**
58871+
* Inspired by https://github.com/Leaflet/Leaflet.VectorGrid
58872+
*/
5886558873

5886658874
/***/ }),
5886758875
/* 341 */
@@ -64206,105 +64214,7 @@ var names = ["Van_der_Grinten_I", "VanDerGrinten", "vandg"];
6420664214
/* 397 */
6420764215
/***/ (function(module, exports) {
6420864216

64209-
module.exports = {
64210-
"_from": "proj4@2.4.3",
64211-
"_id": "proj4@2.4.3",
64212-
"_inBundle": false,
64213-
"_integrity": "sha1-87t+Yxv/wEfDaho8wUUzoDu+mWk=",
64214-
"_location": "/proj4",
64215-
"_phantomChildren": {},
64216-
"_requested": {
64217-
"type": "version",
64218-
"registry": true,
64219-
"raw": "proj4@2.4.3",
64220-
"name": "proj4",
64221-
"escapedName": "proj4",
64222-
"rawSpec": "2.4.3",
64223-
"saveSpec": null,
64224-
"fetchSpec": "2.4.3"
64225-
},
64226-
"_requiredBy": [
64227-
"/"
64228-
],
64229-
"_resolved": "http://registry.npm.taobao.org/proj4/download/proj4-2.4.3.tgz",
64230-
"_shasum": "f3bb7e631bffc047c36a1a3cc14533a03bbe9969",
64231-
"_spec": "proj4@2.4.3",
64232-
"_where": "F:\\dev\\iClient9",
64233-
"author": "",
64234-
"bugs": {
64235-
"url": "https://github.com/proj4js/proj4js/issues"
64236-
},
64237-
"bundleDependencies": false,
64238-
"contributors": [
64239-
{
64240-
"name": "Mike Adair",
64241-
"email": "madair@dmsolutions.ca"
64242-
},
64243-
{
64244-
"name": "Richard Greenwood",
64245-
"email": "rich@greenwoodmap.com"
64246-
},
64247-
{
64248-
"name": "Calvin Metcalf",
64249-
"email": "calvin.metcalf@gmail.com"
64250-
},
64251-
{
64252-
"name": "Richard Marsden",
64253-
"url": "http://www.winwaed.com"
64254-
},
64255-
{
64256-
"name": "T. Mittan"
64257-
},
64258-
{
64259-
"name": "D. Steinwand"
64260-
},
64261-
{
64262-
"name": "S. Nelson"
64263-
}
64264-
],
64265-
"dependencies": {
64266-
"mgrs": "1.0.0",
64267-
"wkt-parser": "^1.1.3"
64268-
},
64269-
"deprecated": false,
64270-
"description": "Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",
64271-
"devDependencies": {
64272-
"chai": "~1.8.1",
64273-
"curl": "git://github.com/cujojs/curl.git",
64274-
"grunt": "~0.4.2",
64275-
"grunt-cli": "~0.1.13",
64276-
"grunt-contrib-connect": "~0.6.0",
64277-
"grunt-contrib-jshint": "~1.1.0",
64278-
"grunt-contrib-uglify": "~0.11.1",
64279-
"grunt-mocha-phantomjs": "~0.4.0",
64280-
"grunt-rollup": "^1.0.1",
64281-
"istanbul": "~0.2.4",
64282-
"mocha": "~1.17.1",
64283-
"rollup": "^0.41.4",
64284-
"rollup-plugin-json": "^2.0.1",
64285-
"rollup-plugin-node-resolve": "^2.0.0",
64286-
"tin": "~0.4.0"
64287-
},
64288-
"directories": {
64289-
"test": "test",
64290-
"doc": "docs"
64291-
},
64292-
"homepage": "https://github.com/proj4js/proj4js#readme",
64293-
"license": "MIT",
64294-
"main": "dist/proj4-src.js",
64295-
"module": "lib/index.js",
64296-
"name": "proj4",
64297-
"repository": {
64298-
"type": "git",
64299-
"url": "git://github.com/proj4js/proj4js.git"
64300-
},
64301-
"scripts": {
64302-
"build": "grunt",
64303-
"build:tmerc": "grunt build:tmerc",
64304-
"test": "npm run build && istanbul test _mocha test/test.js"
64305-
},
64306-
"version": "2.4.3"
64307-
};
64217+
module.exports = {"_args":[[{"raw":"proj4@2.4.3","scope":null,"escapedName":"proj4","name":"proj4","rawSpec":"2.4.3","spec":"2.4.3","type":"version"},"E:\\git\\iClient9"]],"_from":"proj4@2.4.3","_id":"proj4@2.4.3","_inCache":true,"_location":"/proj4","_nodeVersion":"6.9.2","_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/proj4-2.4.3.tgz_1488570790416_0.3068596587982029"},"_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"_npmVersion":"4.0.5","_phantomChildren":{},"_requested":{"raw":"proj4@2.4.3","scope":null,"escapedName":"proj4","name":"proj4","rawSpec":"2.4.3","spec":"2.4.3","type":"version"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/proj4/-/proj4-2.4.3.tgz","_shasum":"f3bb7e631bffc047c36a1a3cc14533a03bbe9969","_shrinkwrap":null,"_spec":"proj4@2.4.3","_where":"E:\\git\\iClient9","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"1.0.0","wkt-parser":"^1.1.3"},"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~1.1.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","grunt-rollup":"^1.0.1","istanbul":"~0.2.4","mocha":"~1.17.1","rollup":"^0.41.4","rollup-plugin-json":"^2.0.1","rollup-plugin-node-resolve":"^2.0.0","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"dist":{"shasum":"f3bb7e631bffc047c36a1a3cc14533a03bbe9969","tarball":"https://registry.npmjs.org/proj4/-/proj4-2.4.3.tgz"},"gitHead":"e975a5462ad7abb23e33ea75281eb749e77e1510","homepage":"https://github.com/proj4js/proj4js#readme","license":"MIT","main":"dist/proj4-src.js","maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"ahocevar","email":"andreas.hocevar@gmail.com"}],"module":"lib/index.js","name":"proj4","optionalDependencies":{},"readme":"ERROR: No README data found!","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"build":"grunt","build:tmerc":"grunt build:tmerc","test":"npm run build && istanbul test _mocha test/test.js"},"version":"2.4.3"}
6430864218

6430964219
/***/ }),
6431064220
/* 398 */

dist/iclient9-leaflet.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)