Skip to content

Commit d34844e

Browse files
committed
修改attribution链接在新窗口打开
1 parent 2602775 commit d34844e

File tree

75 files changed

+5066
-5265
lines changed

Some content is hidden

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

75 files changed

+5066
-5265
lines changed

dist/iclient9-leaflet.js

Lines changed: 1989 additions & 2376 deletions
Large diffs are not rendered by default.

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.

dist/iclient9-legacy.js

Lines changed: 217 additions & 185 deletions
Large diffs are not rendered by default.

dist/iclient9-legacy.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.

dist/iclient9-mapboxgl.js

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,16 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
9898
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
9999

100100
var BaseLayer = _mapv.baiduMapLayer ? _mapv.baiduMapLayer.__proto__ : Function;
101+
/**
102+
* @class mapboxgl.supermap.MapvRenderer
103+
* @classdesc MapV图层渲染
104+
* @param map - {String} 地图
105+
* @param layer -{Object} 图层
106+
* @param dataSet -{Object} 数据集
107+
* @param options -{Object} 交互时所需可选参数。
108+
* @extends BaseLayer
109+
*
110+
*/
101111

102112
var MapvRenderer = function (_BaseLayer) {
103113
_inherits(MapvRenderer, _BaseLayer);
@@ -127,13 +137,25 @@ var MapvRenderer = function (_BaseLayer) {
127137
_this.bindEvent();
128138
return _this;
129139
}
140+
/**
141+
* @class mapboxgl.supermap.prototype.MapvRenderer
142+
* @description 点击绑定事件
143+
* @param e - {object} 事件
144+
*/
145+
130146

131147
_createClass(MapvRenderer, [{
132148
key: 'clickEvent',
133149
value: function clickEvent(e) {
134150
var pixel = e.layerPoint;
135151
_get(MapvRenderer.prototype.__proto__ || Object.getPrototypeOf(MapvRenderer.prototype), 'clickEvent', this).call(this, pixel, e);
136152
}
153+
/**
154+
* @class mapboxgl.supermap.prototype.mousemoveEvent
155+
* @description 鼠标移动事件
156+
* @param e - {object} 事件
157+
*/
158+
137159
}, {
138160
key: 'mousemoveEvent',
139161
value: function mousemoveEvent(e) {
@@ -167,11 +189,24 @@ var MapvRenderer = function (_BaseLayer) {
167189
}
168190
}
169191
}
192+
/**
193+
* @class mapboxgl.supermap.prototype.getContext
194+
* @description 获取画布内容
195+
*/
196+
170197
}, {
171198
key: 'getContext',
172199
value: function getContext() {
173200
return this.canvasLayer.canvas.getContext(this.context);
174201
}
202+
203+
/**
204+
* @class mapboxgl.supermap.prototype.updateData
205+
* @param dataSet - {object} 数据集
206+
* @param options - {object} 交互操作
207+
* @description 更新画布内容
208+
*/
209+
175210
}, {
176211
key: 'updateData',
177212
value: function updateData(dataSet, options) {
@@ -354,8 +389,12 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
354389

355390
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
356391

357-
/*
358-
@class MapvLayer
392+
/**
393+
* @class mapboxgl.supermap.MapvLayer
394+
* @classdesc MAPV图层信息
395+
* @param map - {String} 地图
396+
* @param dataSet -{Object} 数据集
397+
* @param mapVOptions -{Object} 交互时所需可选参数。
359398
*/
360399
var MapvLayer = exports.MapvLayer = function () {
361400
function MapvLayer(map, dataSet, mapVOptions) {
@@ -368,6 +407,11 @@ var MapvLayer = exports.MapvLayer = function () {
368407
this.mapContainer = map.getCanvasContainer();
369408
this.mapContainer.appendChild(this.canvas);
370409
}
410+
/**
411+
* @function mapboxgl.supermap.MapvLayer.prototype.getTopLeft
412+
* @description 获取左上的距离
413+
*/
414+
371415

372416
_createClass(MapvLayer, [{
373417
key: 'getTopLeft',

0 commit comments

Comments
 (0)