gis-common 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/resource.min.js +22 -2
- package/package.json +1 -1
package/dist/resource.min.js
CHANGED
|
@@ -125,6 +125,8 @@ __webpack_require__.d(__webpack_exports__, "Utils", function() { return /* reexp
|
|
|
125
125
|
__webpack_require__.d(__webpack_exports__, "EventType", function() { return /* reexport */ EventTypeConstant; });
|
|
126
126
|
__webpack_require__.d(__webpack_exports__, "ErrorType", function() { return /* reexport */ ErrorTypeConstant; });
|
|
127
127
|
__webpack_require__.d(__webpack_exports__, "LayerType", function() { return /* reexport */ LayerType; });
|
|
128
|
+
__webpack_require__.d(__webpack_exports__, "GraphicType", function() { return /* reexport */ GraphicType; });
|
|
129
|
+
__webpack_require__.d(__webpack_exports__, "MeasureMode", function() { return /* reexport */ MeasureMode; });
|
|
128
130
|
__webpack_require__.d(__webpack_exports__, "AudioPlayer", function() { return /* reexport */ core_AudioPlayer; });
|
|
129
131
|
__webpack_require__.d(__webpack_exports__, "CanvasDrawer", function() { return /* reexport */ core_CanvasDrawer; });
|
|
130
132
|
__webpack_require__.d(__webpack_exports__, "ElQuery", function() { return /* reexport */ core_ElQuery; });
|
|
@@ -262,10 +264,28 @@ __webpack_require__.d(__webpack_exports__, "WebStorage", function() { return /*
|
|
|
262
264
|
S3M_GROUP: "S3MGroup", // addS3MGroupLayer(url, options, index) 添加S3M分组图层。
|
|
263
265
|
TERRAIN_LAYER: "TerrainFileLayer" // 地形图层, 需要单独处理
|
|
264
266
|
});
|
|
267
|
+
// CONCATENATED MODULE: ./src/constant/GraphicConstant.js
|
|
268
|
+
var GraphicType = {
|
|
269
|
+
POINT: 'point',
|
|
270
|
+
POLYLINE: 'polyline',
|
|
271
|
+
POLYGON: 'polygon',
|
|
272
|
+
BILLBOARD: 'billboard',
|
|
273
|
+
CYLINDER: 'cylinder',
|
|
274
|
+
ELLIPSOID: 'ellipsoid',
|
|
275
|
+
LABEL: 'label',
|
|
276
|
+
MODEL: 'model',
|
|
277
|
+
WALL: 'wall'
|
|
278
|
+
};
|
|
279
|
+
var MeasureMode = {
|
|
280
|
+
DISTANCE: 'distance',
|
|
281
|
+
AREA: 'area',
|
|
282
|
+
HEIGHT: 'height'
|
|
283
|
+
};
|
|
265
284
|
// CONCATENATED MODULE: ./src/constant/index.js
|
|
266
285
|
|
|
267
286
|
|
|
268
287
|
|
|
288
|
+
|
|
269
289
|
// CONCATENATED MODULE: ./src/utils/CommUtils.js
|
|
270
290
|
|
|
271
291
|
|
|
@@ -1448,9 +1468,9 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
1448
1468
|
*/
|
|
1449
1469
|
throttle: function throttle(func, wait, type) {
|
|
1450
1470
|
if (type === 1) {
|
|
1451
|
-
var
|
|
1471
|
+
var previous = 0;
|
|
1452
1472
|
} else if (type === 2) {
|
|
1453
|
-
var
|
|
1473
|
+
var timeout;
|
|
1454
1474
|
}
|
|
1455
1475
|
return function () {
|
|
1456
1476
|
var context = this;
|