|
44 | 44 | /******/ // define getter function for harmony exports
|
45 | 45 | /******/ __webpack_require__.d = function(exports, name, getter) {
|
46 | 46 | /******/ if(!__webpack_require__.o(exports, name)) {
|
47 |
| -/******/ Object.defineProperty(exports, name, { |
48 |
| -/******/ configurable: false, |
49 |
| -/******/ enumerable: true, |
50 |
| -/******/ get: getter |
51 |
| -/******/ }); |
| 47 | +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
52 | 48 | /******/ }
|
53 | 49 | /******/ };
|
54 | 50 | /******/
|
55 | 51 | /******/ // define __esModule on exports
|
56 | 52 | /******/ __webpack_require__.r = function(exports) {
|
| 53 | +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| 54 | +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 55 | +/******/ } |
57 | 56 | /******/ Object.defineProperty(exports, '__esModule', { value: true });
|
58 | 57 | /******/ };
|
59 | 58 | /******/
|
| 59 | +/******/ // create a fake namespace object |
| 60 | +/******/ // mode & 1: value is a module id, require it |
| 61 | +/******/ // mode & 2: merge all properties of value into the ns |
| 62 | +/******/ // mode & 4: return value when already ns object |
| 63 | +/******/ // mode & 8|1: behave like require |
| 64 | +/******/ __webpack_require__.t = function(value, mode) { |
| 65 | +/******/ if(mode & 1) value = __webpack_require__(value); |
| 66 | +/******/ if(mode & 8) return value; |
| 67 | +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| 68 | +/******/ var ns = Object.create(null); |
| 69 | +/******/ __webpack_require__.r(ns); |
| 70 | +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| 71 | +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| 72 | +/******/ return ns; |
| 73 | +/******/ }; |
| 74 | +/******/ |
60 | 75 | /******/ // getDefaultExport function for compatibility with non-harmony modules
|
61 | 76 | /******/ __webpack_require__.n = function(module) {
|
62 | 77 | /******/ var getter = module && module.__esModule ?
|
@@ -63420,7 +63435,7 @@ var CRS = external_L_default.a.Class.extend({
|
63420 | 63435 | external_L_default.a.Util.setOptions(this, options);
|
63421 | 63436 | this.code = code;
|
63422 | 63437 | this.transformation = this.options.transformation;
|
63423 |
| - |
| 63438 | + this.options.dpi=this.options.dpi||96; |
63424 | 63439 | if (this.options.bounds) {
|
63425 | 63440 | this.options.bounds = external_L_default.a.bounds(this.options.bounds);
|
63426 | 63441 | }
|
@@ -71077,7 +71092,10 @@ var MapvRenderer = MapVLayer.extend({
|
71077 | 71092 | if (this.options.deg) {
|
71078 | 71093 | item.deg = this.options.deg
|
71079 | 71094 | if (typeof item.deg === 'function') {
|
71080 |
| - item.deg = item.deg(msg.featureResult, external_L_default.a.latLng(geometry.coordinates[1], geometry.coordinates[0])); |
| 71095 | + if(this.idCache[geoID]&&this.data[this.idCache[geoID]]){ |
| 71096 | + item.deg = item.deg(msg.featureResult, external_L_default.a.latLng(geometry.coordinates[1], geometry.coordinates[0]),this.data[this.idCache[geoID]]); |
| 71097 | + } |
| 71098 | + |
71081 | 71099 | }
|
71082 | 71100 | }
|
71083 | 71101 | }
|
@@ -71238,7 +71256,11 @@ var NormalRenderer = external_L_default.a.GeoJSON.extend({
|
71238 | 71256 | radius: 6,
|
71239 | 71257 | weight: 0
|
71240 | 71258 | };
|
71241 |
| - }` |
| 71259 | + }` |
| 71260 | + * @param {function|number} [options.deg] - 定义图标的旋转角度。`options.render` 为 `mapv` 时有效。</br> |
| 71261 | + `function (feature,latlng) { |
| 71262 | + return feature.properties['rotate']; |
| 71263 | + }` |
71242 | 71264 | * @fires L.supermap.dataFlowLayer#subscribesuccessed
|
71243 | 71265 | * @fires L.supermap.dataFlowLayer#setfilterparamsuccessed
|
71244 | 71266 | * @fires L.supermap.dataFlowLayer#dataupdated
|
@@ -83092,7 +83114,7 @@ module.exports = function(proj4){
|
83092 | 83114 | /* 74 */
|
83093 | 83115 | /***/ (function(module) {
|
83094 | 83116 |
|
83095 |
| -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"}; |
| 83117 | +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://localhost:4873/proj4/-/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"}; |
83096 | 83118 |
|
83097 | 83119 | /***/ }),
|
83098 | 83120 | /* 75 */
|
|
0 commit comments