@vtx/map 1.1.25 → 1.1.27
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 +44 -44
- package/lib/VtxMap/BMap/Map.js +75 -0
- package/lib/VtxMap/BMap/Map.js.map +1 -1
- package/lib/VtxMap/OMap/Map.js +43 -43
- package/lib/VtxMap/OMap/Map.js.map +1 -1
- package/lib/VtxMap/OMap/Map.less +70 -70
- package/lib/VtxMap/OlMap/Map.js +23 -23
- package/lib/VtxMap/OlMap/Map.js.map +1 -1
- package/lib/VtxMap/OlMap/Map.less +230 -230
- package/lib/VtxMap/TMap/TMap.js +18 -18
- package/lib/VtxMap/TMap/TMap.js.map +1 -1
- package/lib/VtxMap/images/close.png +0 -0
- package/lib/VtxSearchCheckMap/VtxSearchCheckMap.css +10 -0
- package/lib/VtxSearchCheckMap/VtxSearchCheckMap.js +84 -4
- package/lib/VtxSearchCheckMap/VtxSearchCheckMap.js.map +1 -1
- package/lib/VtxSearchCheckMap/VtxSearchCheckMap.less +10 -0
- package/lib/VtxSearchCheckMap/index.js.map +1 -1
- package/lib/VtxSearchCheckMap/mapping.js.map +1 -1
- package/lib/VtxSearchMap/VtxSearchMap.css +14 -0
- package/lib/VtxSearchMap/VtxSearchMap.js +84 -4
- package/lib/VtxSearchMap/VtxSearchMap.js.map +1 -1
- package/lib/VtxSearchMap/VtxSearchMap.less +14 -0
- package/lib/VtxSearchMap/index.js.map +1 -1
- package/lib/VtxSearchMap/mapping.js.map +1 -1
- package/package.json +1 -1
package/lib/VtxMap/OMap/Map.less
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
.label-content{
|
|
2
|
-
display: inline-block;
|
|
3
|
-
padding: 5px;
|
|
4
|
-
line-height: 22px;
|
|
5
|
-
text-align: center;
|
|
6
|
-
border-radius: 5px;
|
|
7
|
-
background-color: #fff;
|
|
8
|
-
opacity: 1;
|
|
9
|
-
color: #5DD0EE;
|
|
10
|
-
transform: translate(-50%);
|
|
11
|
-
-ms-transform: translate(-50%);
|
|
12
|
-
}
|
|
13
|
-
.noselect {
|
|
14
|
-
-webkit-touch-callout: none; /* iOS Safari */
|
|
15
|
-
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
16
|
-
-khtml-user-select: none; /* Konqueror */
|
|
17
|
-
-moz-user-select: none; /* Firefox */
|
|
18
|
-
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
19
|
-
user-select: none; /* Non-prefixed version, currently
|
|
20
|
-
not supported by any browser */
|
|
21
|
-
}
|
|
22
|
-
.vtx_gmap_html_pointCollection_a{
|
|
23
|
-
position: absolute;
|
|
24
|
-
canvas{
|
|
25
|
-
z-index: 111;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
.vtx-g-rangingPoint{
|
|
29
|
-
width: 8px;
|
|
30
|
-
height: 8px;
|
|
31
|
-
background-color: #fff;
|
|
32
|
-
border: 2px solid #108ee9;
|
|
33
|
-
display: inline-block;
|
|
34
|
-
border-radius: 8px;
|
|
35
|
-
position: relative;
|
|
36
|
-
top: 5px;
|
|
37
|
-
left: 1px;
|
|
38
|
-
}
|
|
39
|
-
.vtx-g-rangingDistance{
|
|
40
|
-
position: relative;
|
|
41
|
-
top: -36px;
|
|
42
|
-
left: 15px;
|
|
43
|
-
height: 30px;
|
|
44
|
-
line-height: 28px;
|
|
45
|
-
background-color: #fff;
|
|
46
|
-
border: 1px solid #108ee9;
|
|
47
|
-
font-size: 12px;
|
|
48
|
-
word-break: keep-all;
|
|
49
|
-
padding: 0px 3px;
|
|
50
|
-
color: #108ee9;
|
|
51
|
-
}
|
|
52
|
-
.vtx-g-rang-exit{
|
|
53
|
-
width: 12px;
|
|
54
|
-
height: 12px;
|
|
55
|
-
background-color: #fff;
|
|
56
|
-
border: 2px solid #108ee9;
|
|
57
|
-
color: #108ee9;
|
|
58
|
-
line-height: 7px;
|
|
59
|
-
text-align: center;
|
|
60
|
-
font-size: 12px;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
}
|
|
63
|
-
.vtx-g-rang-showRangTool{
|
|
64
|
-
line-height: 18px;
|
|
65
|
-
font-size: 12px;
|
|
66
|
-
border: 1px solid #108ee9;
|
|
67
|
-
word-break: keep-all;
|
|
68
|
-
background-color: #fff;
|
|
69
|
-
padding: 0px 5px;
|
|
70
|
-
}
|
|
1
|
+
.label-content{
|
|
2
|
+
display: inline-block;
|
|
3
|
+
padding: 5px;
|
|
4
|
+
line-height: 22px;
|
|
5
|
+
text-align: center;
|
|
6
|
+
border-radius: 5px;
|
|
7
|
+
background-color: #fff;
|
|
8
|
+
opacity: 1;
|
|
9
|
+
color: #5DD0EE;
|
|
10
|
+
transform: translate(-50%);
|
|
11
|
+
-ms-transform: translate(-50%);
|
|
12
|
+
}
|
|
13
|
+
.noselect {
|
|
14
|
+
-webkit-touch-callout: none; /* iOS Safari */
|
|
15
|
+
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
16
|
+
-khtml-user-select: none; /* Konqueror */
|
|
17
|
+
-moz-user-select: none; /* Firefox */
|
|
18
|
+
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
19
|
+
user-select: none; /* Non-prefixed version, currently
|
|
20
|
+
not supported by any browser */
|
|
21
|
+
}
|
|
22
|
+
.vtx_gmap_html_pointCollection_a{
|
|
23
|
+
position: absolute;
|
|
24
|
+
canvas{
|
|
25
|
+
z-index: 111;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
.vtx-g-rangingPoint{
|
|
29
|
+
width: 8px;
|
|
30
|
+
height: 8px;
|
|
31
|
+
background-color: #fff;
|
|
32
|
+
border: 2px solid #108ee9;
|
|
33
|
+
display: inline-block;
|
|
34
|
+
border-radius: 8px;
|
|
35
|
+
position: relative;
|
|
36
|
+
top: 5px;
|
|
37
|
+
left: 1px;
|
|
38
|
+
}
|
|
39
|
+
.vtx-g-rangingDistance{
|
|
40
|
+
position: relative;
|
|
41
|
+
top: -36px;
|
|
42
|
+
left: 15px;
|
|
43
|
+
height: 30px;
|
|
44
|
+
line-height: 28px;
|
|
45
|
+
background-color: #fff;
|
|
46
|
+
border: 1px solid #108ee9;
|
|
47
|
+
font-size: 12px;
|
|
48
|
+
word-break: keep-all;
|
|
49
|
+
padding: 0px 3px;
|
|
50
|
+
color: #108ee9;
|
|
51
|
+
}
|
|
52
|
+
.vtx-g-rang-exit{
|
|
53
|
+
width: 12px;
|
|
54
|
+
height: 12px;
|
|
55
|
+
background-color: #fff;
|
|
56
|
+
border: 2px solid #108ee9;
|
|
57
|
+
color: #108ee9;
|
|
58
|
+
line-height: 7px;
|
|
59
|
+
text-align: center;
|
|
60
|
+
font-size: 12px;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
}
|
|
63
|
+
.vtx-g-rang-showRangTool{
|
|
64
|
+
line-height: 18px;
|
|
65
|
+
font-size: 12px;
|
|
66
|
+
border: 1px solid #108ee9;
|
|
67
|
+
word-break: keep-all;
|
|
68
|
+
background-color: #fff;
|
|
69
|
+
padding: 0px 5px;
|
|
70
|
+
}
|
package/lib/VtxMap/OlMap/Map.js
CHANGED
|
@@ -1585,10 +1585,10 @@ var OlMap = /*#__PURE__*/function (_React$Component) {
|
|
|
1585
1585
|
}
|
|
1586
1586
|
} //将制定图元展示在视野内 (强制改变地图中心位置)
|
|
1587
1587
|
|
|
1588
|
-
/*
|
|
1589
|
-
参数arg格式如下1,2
|
|
1590
|
-
1.string 格式如:'1,a,2,3,4'
|
|
1591
|
-
2.数组 ['1','2']
|
|
1588
|
+
/*
|
|
1589
|
+
参数arg格式如下1,2
|
|
1590
|
+
1.string 格式如:'1,a,2,3,4'
|
|
1591
|
+
2.数组 ['1','2']
|
|
1592
1592
|
*/
|
|
1593
1593
|
|
|
1594
1594
|
}, {
|
|
@@ -1911,12 +1911,12 @@ var OlMap = /*#__PURE__*/function (_React$Component) {
|
|
|
1911
1911
|
item.value.clear();
|
|
1912
1912
|
});
|
|
1913
1913
|
}
|
|
1914
|
-
/*
|
|
1915
|
-
* 添加信息窗口
|
|
1916
|
-
* params
|
|
1917
|
-
* @position: Array[longitude,latitude]
|
|
1918
|
-
* @content: String|HTML
|
|
1919
|
-
* @close: boolean
|
|
1914
|
+
/*
|
|
1915
|
+
* 添加信息窗口
|
|
1916
|
+
* params
|
|
1917
|
+
* @position: Array[longitude,latitude]
|
|
1918
|
+
* @content: String|HTML
|
|
1919
|
+
* @close: boolean
|
|
1920
1920
|
*/
|
|
1921
1921
|
|
|
1922
1922
|
}, {
|
|
@@ -3763,10 +3763,10 @@ var OlMap = /*#__PURE__*/function (_React$Component) {
|
|
|
3763
3763
|
olProps = nextProps.olProps; // 等待地图加载
|
|
3764
3764
|
|
|
3765
3765
|
if (!t.state.mapCreated) return;
|
|
3766
|
-
/*点数据处理
|
|
3767
|
-
pointData[2]相同的点,执行刷新
|
|
3768
|
-
pointData[1]的数据在idsForGraphicId中不存在的,执行新增
|
|
3769
|
-
pointData[0]数据中多余的id,执行删除
|
|
3766
|
+
/*点数据处理
|
|
3767
|
+
pointData[2]相同的点,执行刷新
|
|
3768
|
+
pointData[1]的数据在idsForGraphicId中不存在的,执行新增
|
|
3769
|
+
pointData[0]数据中多余的id,执行删除
|
|
3770
3770
|
*/
|
|
3771
3771
|
|
|
3772
3772
|
if (mapPoints instanceof Array && t.props.mapPoints instanceof Array && !t.deepEqual(mapPoints, t.props.mapPoints)) {
|
|
@@ -3815,9 +3815,9 @@ var OlMap = /*#__PURE__*/function (_React$Component) {
|
|
|
3815
3815
|
|
|
3816
3816
|
t.updatePoint([].concat(_toConsumableArray(upds), _toConsumableArray(otherupds)));
|
|
3817
3817
|
}
|
|
3818
|
-
/*
|
|
3819
|
-
线数据处理
|
|
3820
|
-
先全删除,再新增
|
|
3818
|
+
/*
|
|
3819
|
+
线数据处理
|
|
3820
|
+
先全删除,再新增
|
|
3821
3821
|
*/
|
|
3822
3822
|
|
|
3823
3823
|
|
|
@@ -3867,9 +3867,9 @@ var OlMap = /*#__PURE__*/function (_React$Component) {
|
|
|
3867
3867
|
|
|
3868
3868
|
t.updateLine([].concat(_toConsumableArray(_upds), _toConsumableArray(_otherupds)));
|
|
3869
3869
|
}
|
|
3870
|
-
/*
|
|
3871
|
-
面数据处理
|
|
3872
|
-
先全删除,再新增
|
|
3870
|
+
/*
|
|
3871
|
+
面数据处理
|
|
3872
|
+
先全删除,再新增
|
|
3873
3873
|
*/
|
|
3874
3874
|
|
|
3875
3875
|
|
|
@@ -3919,9 +3919,9 @@ var OlMap = /*#__PURE__*/function (_React$Component) {
|
|
|
3919
3919
|
|
|
3920
3920
|
t.updatePolygon([].concat(_toConsumableArray(_upds2), _toConsumableArray(_otherupds2)));
|
|
3921
3921
|
}
|
|
3922
|
-
/*
|
|
3923
|
-
圆数据处理
|
|
3924
|
-
先全删除,再新增
|
|
3922
|
+
/*
|
|
3923
|
+
圆数据处理
|
|
3924
|
+
先全删除,再新增
|
|
3925
3925
|
*/
|
|
3926
3926
|
|
|
3927
3927
|
|