raintee-maputils 1.0.18 → 1.0.19
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/index.js +2 -0
- package/package.json +3 -2
package/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import * as RainteeConstants from './src/RainteeConstants.js';
|
|
|
3
3
|
import * as RainteeGISUtil from './src/RainteeGISUtil.js';
|
|
4
4
|
import * as RainteeSourceMapTool from './src/RainteeSourceMapTool.js';
|
|
5
5
|
// 以下是地图相关的工具类
|
|
6
|
+
import RulerControl from '@mapbox-controls/ruler'
|
|
6
7
|
import { CustomOptionsControl } from './src/mapbox/CustomOptionsControl.js';
|
|
7
8
|
import { CustomToggleControl } from './src/mapbox/CustomToggleControl.js';
|
|
8
9
|
import { RasterLayerControl } from './src/mapbox/RasterLayerController.js';
|
|
@@ -15,6 +16,7 @@ export {
|
|
|
15
16
|
RainteeConstants,
|
|
16
17
|
RainteeGISUtil,
|
|
17
18
|
RainteeSourceMapTool,
|
|
19
|
+
RulerControl,
|
|
18
20
|
CustomOptionsControl,
|
|
19
21
|
CustomToggleControl,
|
|
20
22
|
RasterLayerControl,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "raintee-maputils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"description": "Raintee的GIS开发工具包",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"publish": "npm publish --access public"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@turf/turf": "^7.2.0"
|
|
19
|
+
"@turf/turf": "^7.2.0",
|
|
20
|
+
"@mapbox-controls/ruler": "^3.0.0"
|
|
20
21
|
},
|
|
21
22
|
"keywords": [
|
|
22
23
|
"maputils",
|