ry-vue-map 0.3.2 → 0.3.3
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/README.MD +1 -1
- package/lib/ryui.common.js +34 -31
- package/lib/ryui.common.js.gz +0 -0
- package/lib/ryui.umd.js +34 -31
- package/lib/ryui.umd.js.gz +0 -0
- package/lib/ryui.umd.min.js +3 -3
- package/lib/ryui.umd.min.js.gz +0 -0
- package/package.json +4 -2
- package/src/components/maps/ryStaticLayers/src/index.vue +3 -1
- package/src/views/map/imgUrl.js +1193 -0
- package/src/views/map/index.vue +94 -106
package/lib/ryui.umd.min.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ry-vue-map",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "lib/ryui.umd.min.js",
|
|
6
6
|
"description": "ry公共组件库",
|
|
@@ -41,9 +41,11 @@
|
|
|
41
41
|
"countup.js": "~2.0.7",
|
|
42
42
|
"dayjs": "^1.11.7",
|
|
43
43
|
"element-ui": "~2.15.6",
|
|
44
|
+
"kml-geojson": "^1.2.2",
|
|
45
|
+
"kml-to-geojson": "^1.0.13",
|
|
44
46
|
"nprogress": "~0.2.0",
|
|
45
47
|
"ol": "^6.14.1",
|
|
46
|
-
"ry-map": "^0.4.
|
|
48
|
+
"ry-map": "^0.4.3",
|
|
47
49
|
"vue": "~2.6.14",
|
|
48
50
|
"vue-demi": "^0.13.11",
|
|
49
51
|
"vue-router": "~3.5.2",
|
|
@@ -105,6 +105,7 @@
|
|
|
105
105
|
url,
|
|
106
106
|
bbox,
|
|
107
107
|
zIndex,
|
|
108
|
+
projection
|
|
108
109
|
} = dto;
|
|
109
110
|
if (!this.staticMap.has(id)) {
|
|
110
111
|
const img = new StaticImage({
|
|
@@ -112,7 +113,8 @@
|
|
|
112
113
|
url,
|
|
113
114
|
imageExtent:bbox,
|
|
114
115
|
zIndex,
|
|
115
|
-
type:this.gpsType
|
|
116
|
+
type:this.gpsType,
|
|
117
|
+
projection,
|
|
116
118
|
},
|
|
117
119
|
this.map);
|
|
118
120
|
this.staticMap.set(id, img);
|