Skip to content

Commit 81d2464

Browse files
committed
fix openlayers mapv动画图层拖动缩放时残影问题 & 修改个别注释
1 parent 73f8b25 commit 81d2464

File tree

11 files changed

+279
-36
lines changed

11 files changed

+279
-36
lines changed

dist/iclient9-leaflet.js

Lines changed: 107 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29754,7 +29754,7 @@ var GraphThemeLayer = exports.GraphThemeLayer = _ThemeLayer.ThemeLayer.extend({
2975429754
* @function L.supermap.GraphThemeLayer.prototype.getWeightFieldValue
2975529755
* @description 获取权重字段的值。
2975629756
* @param feature - {SuperMap.Feature.Vector} 矢量要素。
29757-
* @param fields - {Array<string>} 字段名数组。
29757+
* @param weightField - {Array<string>} 字段名数组。
2975829758
* @param defaultValue - {number}当通过 weightField 获取不到权重值时,使用 defaultValue 作为权重值。
2975929759
*/
2976029760
getWeightFieldValue: function getWeightFieldValue(feature, weightField, defaultValue) {
@@ -60878,7 +60878,6 @@ var MapVLayer = exports.MapVLayer = _leaflet2["default"].Layer.extend({
6087860878
* @private
6087960879
* @function L.supermap.mapVLayer.prototype.onRemove
6088060880
* @description 删除地图图层
60881-
* @param map - {L.map} 要删除的图层
6088260881
*/
6088360882
onRemove: function onRemove() {
6088460883
_leaflet2["default"].DomUtil.remove(this.container);
@@ -88188,7 +88187,7 @@ var BaseLayer = _mapv.baiduMapLayer ? _mapv.baiduMapLayer.__proto__ : Function;
8818888187
* @class L.supermap.MapVRenderer
8818988188
* @classdesc 地图渲染类
8819088189
* @private
88191-
* @extends L.BaseLayer
88190+
* @extends mapv.BaseLayer
8819288191
* @param map - {L.map} 待渲染的地图
8819388192
* @param layer - {L.Layer} 待渲染的图层
8819488193
* @param dataSet - {DataSet} 待渲染的数据集
@@ -91279,7 +91278,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
9127991278
}
9128091279

9128191280
function Promise(fn) {
91282-
if (!(this instanceof Promise)) throw new TypeError('Promises must be constructed via new');
91281+
if (_typeof(this) !== 'object') throw new TypeError('Promises must be constructed via new');
9128391282
if (typeof fn !== 'function') throw new TypeError('not a function');
9128491283
this._state = 0;
9128591284
this._handled = false;
@@ -91403,9 +91402,9 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
9140391402
};
9140491403

9140591404
Promise.all = function (arr) {
91405+
var args = Array.prototype.slice.call(arr);
91406+
9140691407
return new Promise(function (resolve, reject) {
91407-
if (!arr || typeof arr.length === 'undefined') throw new TypeError('Promise.all accepts an array');
91408-
var args = Array.prototype.slice.call(arr);
9140991408
if (args.length === 0) return resolve([]);
9141091409
var remaining = args.length;
9141191410

@@ -96242,7 +96241,108 @@ exports.names = ["Van_der_Grinten_I", "VanDerGrinten", "vandg"];
9624296241
/* 496 */
9624396242
/***/ (function(module, exports) {
9624496243

96245-
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":"https://registry.npmjs.org/proj4/-/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_spec":"proj4@2.3.15","_where":"F:\\codes\\iClient9Copy\\iClient9","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"}
96244+
module.exports = {
96245+
"_from": "proj4@2.3.15",
96246+
"_id": "proj4@2.3.15",
96247+
"_inBundle": false,
96248+
"_integrity": "sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=",
96249+
"_location": "/proj4",
96250+
"_phantomChildren": {},
96251+
"_requested": {
96252+
"type": "version",
96253+
"registry": true,
96254+
"raw": "proj4@2.3.15",
96255+
"name": "proj4",
96256+
"escapedName": "proj4",
96257+
"rawSpec": "2.3.15",
96258+
"saveSpec": null,
96259+
"fetchSpec": "2.3.15"
96260+
},
96261+
"_requiredBy": [
96262+
"/"
96263+
],
96264+
"_resolved": "http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz",
96265+
"_shasum": "5ad06e8bca30be0ffa389a49e4565f51f06d089e",
96266+
"_spec": "proj4@2.3.15",
96267+
"_where": "F:\\dev\\iClient",
96268+
"author": "",
96269+
"bugs": {
96270+
"url": "https://github.com/proj4js/proj4js/issues"
96271+
},
96272+
"bundleDependencies": false,
96273+
"contributors": [
96274+
{
96275+
"name": "Mike Adair",
96276+
"email": "madair@dmsolutions.ca"
96277+
},
96278+
{
96279+
"name": "Richard Greenwood",
96280+
"email": "rich@greenwoodmap.com"
96281+
},
96282+
{
96283+
"name": "Calvin Metcalf",
96284+
"email": "calvin.metcalf@gmail.com"
96285+
},
96286+
{
96287+
"name": "Richard Marsden",
96288+
"url": "http://www.winwaed.com"
96289+
},
96290+
{
96291+
"name": "T. Mittan"
96292+
},
96293+
{
96294+
"name": "D. Steinwand"
96295+
},
96296+
{
96297+
"name": "S. Nelson"
96298+
}
96299+
],
96300+
"dependencies": {
96301+
"mgrs": "~0.0.2"
96302+
},
96303+
"deprecated": false,
96304+
"description": "Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",
96305+
"devDependencies": {
96306+
"browserify": "~12.0.1",
96307+
"chai": "~1.8.1",
96308+
"curl": "git://github.com/cujojs/curl.git",
96309+
"grunt": "~0.4.2",
96310+
"grunt-browserify": "~4.0.1",
96311+
"grunt-cli": "~0.1.13",
96312+
"grunt-contrib-connect": "~0.6.0",
96313+
"grunt-contrib-jshint": "~0.8.0",
96314+
"grunt-contrib-uglify": "~0.11.1",
96315+
"grunt-mocha-phantomjs": "~0.4.0",
96316+
"istanbul": "~0.2.4",
96317+
"mocha": "~1.17.1",
96318+
"tin": "~0.4.0"
96319+
},
96320+
"directories": {
96321+
"test": "test",
96322+
"doc": "docs"
96323+
},
96324+
"homepage": "https://github.com/proj4js/proj4js#readme",
96325+
"jam": {
96326+
"main": "dist/proj4.js",
96327+
"include": [
96328+
"dist/proj4.js",
96329+
"README.md",
96330+
"AUTHORS",
96331+
"LICENSE.md"
96332+
]
96333+
},
96334+
"license": "MIT",
96335+
"main": "lib/index.js",
96336+
"name": "proj4",
96337+
"repository": {
96338+
"type": "git",
96339+
"url": "git://github.com/proj4js/proj4js.git"
96340+
},
96341+
"scripts": {
96342+
"test": "./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"
96343+
},
96344+
"version": "2.3.15"
96345+
};
9624696346

9624796347
/***/ }),
9624896348
/* 497 */

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-mapboxgl.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82400,7 +82400,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
8240082400
}
8240182401

8240282402
function Promise(fn) {
82403-
if (!(this instanceof Promise)) throw new TypeError('Promises must be constructed via new');
82403+
if (_typeof(this) !== 'object') throw new TypeError('Promises must be constructed via new');
8240482404
if (typeof fn !== 'function') throw new TypeError('not a function');
8240582405
this._state = 0;
8240682406
this._handled = false;
@@ -82524,9 +82524,9 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
8252482524
};
8252582525

8252682526
Promise.all = function (arr) {
82527+
var args = Array.prototype.slice.call(arr);
82528+
8252782529
return new Promise(function (resolve, reject) {
82528-
if (!arr || typeof arr.length === 'undefined') throw new TypeError('Promise.all accepts an array');
82529-
var args = Array.prototype.slice.call(arr);
8253082530
if (args.length === 0) return resolve([]);
8253182531
var remaining = args.length;
8253282532

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