Skip to content

Commit fef72c9

Browse files
committed
fix common模块Image接口初始化问题
1 parent 47f451b commit fef72c9

File tree

7 files changed

+266
-119
lines changed

7 files changed

+266
-119
lines changed

dist/iclient9-leaflet.js

Lines changed: 109 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -66718,24 +66718,13 @@ var Image = function (_ShapeParameters) {
6671866718
_this.x = x;
6671966719
_this.y = y;
6672066720
_this.image = image;
66721-
if (_this.width) {
66722-
_this.width = width;
66723-
}
66724-
if (_this.height) {
66725-
_this.height = width;
66726-
}
66727-
if (_this.sx) {
66728-
_this.sx = width;
66729-
}
66730-
if (_this.sy) {
66731-
_this.sy = width;
66732-
}
66733-
if (_this.sWidth) {
66734-
_this.sWidth = width;
66735-
}
66736-
if (_this.sHeight) {
66737-
_this.sHeight = width;
66738-
}
66721+
66722+
_this.width = width;
66723+
_this.height = height;
66724+
_this.sx = sx;
66725+
_this.sy = sy;
66726+
_this.sWidth = sWidth;
66727+
_this.sHeight = sHeight;
6673966728
return _this;
6674066729
}
6674166730

@@ -93992,7 +93981,108 @@ exports.names = ["Van_der_Grinten_I", "VanDerGrinten", "vandg"];
9399293981
/* 467 */
9399393982
/***/ (function(module, exports) {
9399493983

93995-
module.exports = {"_args":[[{"raw":"proj4@2.3.15","scope":null,"escapedName":"proj4","name":"proj4","rawSpec":"2.3.15","spec":"2.3.15","type":"version"},"E:\\git\\iClient9"]],"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inCache":true,"_location":"/proj4","_nodeVersion":"6.1.0","_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/proj4-2.3.15.tgz_1471808262546_0.6752060337457806"},"_npmUser":{"name":"ahocevar","email":"andreas.hocevar@gmail.com"},"_npmVersion":"3.8.6","_phantomChildren":{},"_requested":{"raw":"proj4@2.3.15","scope":null,"escapedName":"proj4","name":"proj4","rawSpec":"2.3.15","spec":"2.3.15","type":"version"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/proj4/-/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_shrinkwrap":null,"_spec":"proj4@2.3.15","_where":"E:\\git\\iClient9","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"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"},"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"},"dist":{"shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","tarball":"https://registry.npmjs.org/proj4/-/proj4-2.3.15.tgz"},"gitHead":"9fa5249c1f4183d5ddee3c4793dfd7b9f29f1886","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","maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"ahocevar","email":"andreas.hocevar@gmail.com"}],"name":"proj4","optionalDependencies":{},"readme":"ERROR: No README data found!","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"}
93984+
module.exports = {
93985+
"_from": "proj4@2.3.15",
93986+
"_id": "proj4@2.3.15",
93987+
"_inBundle": false,
93988+
"_integrity": "sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=",
93989+
"_location": "/proj4",
93990+
"_phantomChildren": {},
93991+
"_requested": {
93992+
"type": "version",
93993+
"registry": true,
93994+
"raw": "proj4@2.3.15",
93995+
"name": "proj4",
93996+
"escapedName": "proj4",
93997+
"rawSpec": "2.3.15",
93998+
"saveSpec": null,
93999+
"fetchSpec": "2.3.15"
94000+
},
94001+
"_requiredBy": [
94002+
"/"
94003+
],
94004+
"_resolved": "http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz",
94005+
"_shasum": "5ad06e8bca30be0ffa389a49e4565f51f06d089e",
94006+
"_spec": "proj4@2.3.15",
94007+
"_where": "F:\\dev\\iClient",
94008+
"author": "",
94009+
"bugs": {
94010+
"url": "https://github.com/proj4js/proj4js/issues"
94011+
},
94012+
"bundleDependencies": false,
94013+
"contributors": [
94014+
{
94015+
"name": "Mike Adair",
94016+
"email": "madair@dmsolutions.ca"
94017+
},
94018+
{
94019+
"name": "Richard Greenwood",
94020+
"email": "rich@greenwoodmap.com"
94021+
},
94022+
{
94023+
"name": "Calvin Metcalf",
94024+
"email": "calvin.metcalf@gmail.com"
94025+
},
94026+
{
94027+
"name": "Richard Marsden",
94028+
"url": "http://www.winwaed.com"
94029+
},
94030+
{
94031+
"name": "T. Mittan"
94032+
},
94033+
{
94034+
"name": "D. Steinwand"
94035+
},
94036+
{
94037+
"name": "S. Nelson"
94038+
}
94039+
],
94040+
"dependencies": {
94041+
"mgrs": "~0.0.2"
94042+
},
94043+
"deprecated": false,
94044+
"description": "Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",
94045+
"devDependencies": {
94046+
"browserify": "~12.0.1",
94047+
"chai": "~1.8.1",
94048+
"curl": "git://github.com/cujojs/curl.git",
94049+
"grunt": "~0.4.2",
94050+
"grunt-browserify": "~4.0.1",
94051+
"grunt-cli": "~0.1.13",
94052+
"grunt-contrib-connect": "~0.6.0",
94053+
"grunt-contrib-jshint": "~0.8.0",
94054+
"grunt-contrib-uglify": "~0.11.1",
94055+
"grunt-mocha-phantomjs": "~0.4.0",
94056+
"istanbul": "~0.2.4",
94057+
"mocha": "~1.17.1",
94058+
"tin": "~0.4.0"
94059+
},
94060+
"directories": {
94061+
"test": "test",
94062+
"doc": "docs"
94063+
},
94064+
"homepage": "https://github.com/proj4js/proj4js#readme",
94065+
"jam": {
94066+
"main": "dist/proj4.js",
94067+
"include": [
94068+
"dist/proj4.js",
94069+
"README.md",
94070+
"AUTHORS",
94071+
"LICENSE.md"
94072+
]
94073+
},
94074+
"license": "MIT",
94075+
"main": "lib/index.js",
94076+
"name": "proj4",
94077+
"repository": {
94078+
"type": "git",
94079+
"url": "git://github.com/proj4js/proj4js.git"
94080+
},
94081+
"scripts": {
94082+
"test": "./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"
94083+
},
94084+
"version": "2.3.15"
94085+
};
9399694086

9399794087
/***/ }),
9399894088
/* 468 */

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: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -59884,24 +59884,13 @@ var Image = function (_ShapeParameters) {
5988459884
_this.x = x;
5988559885
_this.y = y;
5988659886
_this.image = image;
59887-
if (_this.width) {
59888-
_this.width = width;
59889-
}
59890-
if (_this.height) {
59891-
_this.height = width;
59892-
}
59893-
if (_this.sx) {
59894-
_this.sx = width;
59895-
}
59896-
if (_this.sy) {
59897-
_this.sy = width;
59898-
}
59899-
if (_this.sWidth) {
59900-
_this.sWidth = width;
59901-
}
59902-
if (_this.sHeight) {
59903-
_this.sHeight = width;
59904-
}
59887+
59888+
_this.width = width;
59889+
_this.height = height;
59890+
_this.sx = sx;
59891+
_this.sy = sy;
59892+
_this.sWidth = sWidth;
59893+
_this.sHeight = sHeight;
5990559894
return _this;
5990659895
}
5990759896

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)