Skip to content

Commit 95830cc

Browse files
committed
新增 mapboxgl.supermap.DeckglLayer 图层及其示例。
1 parent 8ec9155 commit 95830cc

Some content is hidden

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

48 files changed

+130444
-540
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,12 @@
198198

199199
- 废弃 ` mapboxgl.supermap.ThemeLayer.toFeature` 方法,由 ` mapboxgl.supermap.ThemeLayer.toiClientFeature` 方法代替
200200

201+
- 新增deck.gl图层:
202+
203+
- `mapboxgl.supermap.DeckglLayer`
204+
205+
- `mapboxgl.supermap.GraphicLayer` 类新增 `setVisibility` , `moveTo` 接口,支持设置图层的显示、隐藏和移动
206+
201207
### Classic
202208

203209
- 废弃 `SuperMap.ElasticSearch``options.change` 参数,直接使用 `SuperMap.ElasticSearch.msearch` `SuperMap.ElasticSearch.msearch``callback` 参数
@@ -295,6 +301,8 @@
295301

296302
- 新增`echarts` 增量高性能图层示例
297303

304+
- 新增`deckgl` 模块以及示例
305+
298306
### Classic
299307

300308
## Web Site && Docs

build/jsdocs/template/typeLinkExt.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ var typeLinks = {
4747
"L.Path-option": lfapi + '#path-option',
4848

4949
//mapboxgl
50-
"mapboxgl.Evented": mbglapi + '#Evented'
50+
"mapboxgl.Evented": mbglapi + '#Evented',
51+
"mapboxgl.Map": mbglapi + '#map'
5152
}
5253
exports.typeLinks = typeLinks;

dist/iclient-classic.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11185,15 +11185,16 @@ process.umask = function () {
1118511185
"use strict";
1118611186
/* WEBPACK VAR INJECTION */(function(global) {
1118711187

11188+
var scope = typeof global !== "undefined" && global || typeof self !== "undefined" && self || window;
1118811189
var apply = Function.prototype.apply;
1118911190

1119011191
// DOM APIs, for completeness
1119111192

1119211193
exports.setTimeout = function () {
11193-
return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);
11194+
return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout);
1119411195
};
1119511196
exports.setInterval = function () {
11196-
return new Timeout(apply.call(setInterval, window, arguments), clearInterval);
11197+
return new Timeout(apply.call(setInterval, scope, arguments), clearInterval);
1119711198
};
1119811199
exports.clearTimeout = exports.clearInterval = function (timeout) {
1119911200
if (timeout) {
@@ -11207,7 +11208,7 @@ function Timeout(id, clearFn) {
1120711208
}
1120811209
Timeout.prototype.unref = Timeout.prototype.ref = function () {};
1120911210
Timeout.prototype.close = function () {
11210-
this._clearFn.call(window, this._id);
11211+
this._clearFn.call(scope, this._id);
1121111212
};
1121211213

1121311214
// Does not start the time, just sets up the members needed.
@@ -11234,7 +11235,7 @@ exports._unrefActive = exports.active = function (item) {
1123411235

1123511236
// setimmediate attaches itself to the global object
1123611237
__webpack_require__(48);
11237-
// On some exotic environments, it's not clear which object `setimmeidate` was
11238+
// On some exotic environments, it's not clear which object `setimmediate` was
1123811239
// able to install onto. Search each possibility in the same order as the
1123911240
// `setimmediate` library.
1124011241
exports.setImmediate = typeof self !== "undefined" && self.setImmediate || typeof global !== "undefined" && global.setImmediate || undefined && undefined.setImmediate;

dist/iclient-classic.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-leaflet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71815,7 +71815,7 @@ module.exports = function (proj4) {
7181571815
/* 386 */
7181671816
/***/ (function(module) {
7181771817

71818-
module.exports = {"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_spec":"proj4@2.3.15","_where":"E:\\2018\\git\\iClient-JavaScript","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"bundleDependencies":false,"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":"~0.0.2"},"deprecated":false,"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"};
71818+
module.exports = {"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_spec":"proj4@2.3.15","_where":"G:\\iClient\\iClient-JavaScript","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"bundleDependencies":false,"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":"~0.0.2"},"deprecated":false,"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"};
7181971819

7182071820
/***/ }),
7182171821
/* 387 */

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)