Skip to content

Commit 7b8f67e

Browse files
committed
[feature]对接影像服务API review by songym
1 parent 7a4aed0 commit 7b8f67e

File tree

74 files changed

+8328
-82
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+8328
-82
lines changed

build/jsdocs/template/config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,10 @@
283283
"GeoprocessingService": {
284284
"name": "地理处理",
285285
"name_en": "GeoprocessingService"
286+
},
287+
"Image": {
288+
"name": "影像服务",
289+
"name_en": "Image"
286290
}
287291
}
288292
},

build/jsdocs/template/typeLinkExt.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ var mbglapi = "https://www.mapbox.com/mapbox-gl-js/api/";
44
var mapv = "https://github.com/huiyan-fe/mapv/blob/master/src/";
55
var classicapi="https://iclient.supermap.io/web/libs/iclient8c/apidoc/files/SuperMap"
66
var geojsonapi = "https://geojson.org";
7+
var geometryapi="https://datatracker.ietf.org/doc/html/rfc7946#section-3.1";
78
var helpDocApi = "https://iportal.supermap.io/iportal/help/html/zh/index.htm";
89
var typeLinks = {
910
//openlayers
@@ -75,8 +76,9 @@ var typeLinks = {
7576
"SuperMap.Layer":classicapi + '/Layer-js.html',
7677
"SuperMap.Layer.Graph": classicapi + '/Layer/Theme/Graph-js.html#SuperMap.Layer.Graph',
7778

78-
//GeoJSON
79+
//GeoJSON
7980
"GeoJSONObject": geojsonapi,
81+
"GeoJSONGeometry": geometryapi,
8082

8183
// WebMap 结构
8284
"WebMapSummaryObject": helpDocApi + '#iP/Appendix/WebMap/WebMapSummary.htm'

dist/mapboxgl/include-mapboxgl.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
inputCSS('https://iclient.supermap.io/web/libs/mapbox-gl-js-enhance/1.12.0/mapbox-gl-enhance.css');
6161
inputScript('https://iclient.supermap.io/web/libs/mapbox-gl-js-enhance/1.12.0/mapbox-gl-enhance.js');
6262
}
63+
if (inArray(includes, 'turf')) {
64+
inputScript('https://cdn.bootcdn.net/ajax/libs/Turf.js/5.1.6/turf.min.js');
65+
}
6366
if (inArray(includes, 'draw')) {
6467
inputCSS(
6568
'https://iclient.supermap.io/web/libs/mapbox-gl-js/plugins/mapbox-gl-draw/1.2.0/mapbox-gl-draw.css'
@@ -68,6 +71,11 @@
6871
'https://iclient.supermap.io/web/libs/mapbox-gl-js/plugins/mapbox-gl-draw/1.2.0/mapbox-gl-draw.js'
6972
);
7073
}
74+
if (inArray(includes, 'mapboxgl-draw-rectangle-drag')) {
75+
inputScript(
76+
'https://cdn.jsdelivr.net/gh/CartoDB/[email protected]/build/mapboxgl-draw-rectangle-drag.browser.js'
77+
);
78+
}
7179
if (inArray(includes, 'compare')) {
7280
inputCSS(
7381
'https://iclient.supermap.io/web/libs/mapbox-gl-js/plugins/mapbox-gl-compare/0.4.0/mapbox-gl-compare.css'

examples/leaflet/config.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,19 @@ var exampleConfig = {
448448
fileName: "dataFlowService_mapv"
449449
}]
450450
},
451+
"image": {
452+
name: "影像服务",
453+
name_en: "Image Service",
454+
content: [
455+
{
456+
name: "影像服务",
457+
name_en: "Image Service",
458+
version: "10.2.0",
459+
thumbnail: "imageService.png",
460+
fileName: "imageService"
461+
}
462+
]
463+
},
451464
"security": {
452465
name: "安全",
453466
name_en: "Security",

0 commit comments

Comments
 (0)