forked from SuperMap/iClient-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypeLinkExt.js
More file actions
85 lines (78 loc) · 3.8 KB
/
typeLinkExt.js
File metadata and controls
85 lines (78 loc) · 3.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
var olapi = "https://openlayers.org/en/v6.4.3/apidoc/";
var lfapi = "https://leafletjs.com/reference-1.7.1.html";
var mbglapi = "https://www.mapbox.com/mapbox-gl-js/api/";
var mapv = "https://github.com/huiyan-fe/mapv/blob/master/src/";
var classicapi="https://iclient.supermap.io/web/libs/iclient8c/apidoc/files/SuperMap"
var geojsonapi = "https://geojson.org";
var helpDocApi = "https://iportal.supermap.io/iportal/help/html/zh/index.htm";
var typeLinks = {
//openlayers
"ol/Map": olapi + "module-ol_Map-Map",
"ol/View": olapi + "module-ol_View-View",
"ol/extent": olapi + "module-ol_extent.html",
"ol/feature": olapi + "module-ol_Feature-Feature.html",
"ol/geom/Polygon": olapi + "module-ol_geom_Polygon-Polygon.html",
"ol/geom/LineString": olapi + "module-ol_geom_LineString-LineString.html",
"ol/geom/Point": olapi + "module-ol_geom_Point-Point.html",
"ol/geom/Geometry":olapi + "module-ol_geom_Geometry-Geometry.html",
"ol/format/GeoJSON": olapi + "module-ol_format_GeoJSON-GeoJSON.html",
"ol/proj/Projection": olapi + "module-ol_proj_Projection-Projection.html",
"ol/Observable": olapi + "module-ol_Observable-Observable.html",
"ol/style/Image": olapi + "module-ol_style_Image-ImageStyle.html",
"ol/style/Fill": olapi + "module-ol_style_Fill-Fill.html",
"ol/style/Stroke": olapi + "module-ol_style_Stroke-Stroke.html",
"ol/Object": olapi + "module-ol_Object-BaseObject.html",
"ol/source/ImageCanvas": olapi + "module-ol_source_ImageCanvas-ImageCanvasSource.html",
"ol/source/TileImage": olapi + "module-ol_source_TileImage-TileImage.html",
"ol/source/WMTS": olapi + "module-ol_source_WMTS-WMTS.html",
"ol/source/XYZ": olapi + "module-ol_source_XYZ-XYZ.html",
"ol/source/Vector": olapi + "module-ol_source_Vector-VectorSource.html",
"ol/source/VectorTile": olapi + "module-ol_source_VectorTile-VectorTile.html",
"ol/Pixel": olapi + "module-ol_pixel.html",
"ol/source/State": olapi + "module-ol_source_State.html",
"ol/layer/Layer": olapi + "module-ol_layer_Layer-Layer.html",
"ol/StyleFunction": olapi + "module-ol_style_Style.html#~StyleFunction",
"ol/control/ScaleLine": olapi + "module-ol_control_ScaleLine-ScaleLine.html",
"ol/control/Control": olapi + "module-ol_control_Control-Control.html",
//leaflet
"L.Marker": lfapi + '#marker',
"L.Bounds": lfapi + "#bounds",
"L.Polygon": lfapi + "#polygon",
"L.Polyline": lfapi + "#polyline",
"L.Point": lfapi + "#point",
"L.LatLng": lfapi + "#latlng",
"L.GeoJSON": lfapi + "#geojson",
"L.Control": lfapi + "#control",
"L.Class": lfapi + "#class",
"L.GridLayer": lfapi + '#gridlayer',
"L.Path": lfapi + '#path',
"L.SVG": lfapi + '#svg',
"L.Canvas": lfapi + '#canvas',
"L.Layer": lfapi + '#layer',
"L.LayerGroup": lfapi + '#layergroup',
"L.TileLayer": lfapi + '#tilelayer',
"L.CircleMarker": lfapi + '#circlemarker',
"L.Circle": lfapi + '#circle',
"L.Path-option": lfapi + '#path-option',
"L.Rectangle": lfapi + '#rectangle',
'L.LatLngBounds': lfapi+ '#latlngbounds',
'L.Map': lfapi + '#map-example',
'L.Evented':lfapi +'#evented',
//mapboxgl
"mapboxgl.Evented": mbglapi + '#Evented',
"mapboxgl.Map": mbglapi + '#map',
"mapboxgl.LngLatBounds": mbglapi + '#lnglatbounds',
"mapboxgl.LngLat": mbglapi + '#lnglat',
"mapboxgl.Point": mbglapi + '#point',
//mapv
"Mapv.DataSet": mapv + 'data/DataSet.md',
"Mapv.BaiduMapLayer": mapv + 'map/baidu-map/Layer.md',
//classic
"SuperMap.Layer":classicapi + '/Layer-js.html',
"SuperMap.Layer.Graph": classicapi + '/Layer/Theme/Graph-js.html#SuperMap.Layer.Graph',
//GeoJSON
"GeoJSONObject": geojsonapi,
// WebMap 结构
"WebMapSummaryObject": helpDocApi + '#iP/Appendix/WebMap/WebMapSummary.htm'
}
exports.typeLinks = typeLinks;