@vtx/map 1.1.5 → 1.1.7-beta.0
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 +1 -1
- package/lib/VtxMap/OMap/Map.js +43 -43
- package/lib/VtxMap/OMap/Map.less +70 -70
- package/lib/VtxMap/OlMap/Map.js +412 -101
- package/lib/VtxMap/OlMap/Map.less +121 -121
- package/lib/VtxMap/TMap/TMap.js +18 -18
- package/lib/VtxModal/VtxModal.css +0 -62
- package/lib/VtxModal/VtxModal.js +7 -9
- package/lib/VtxModal/VtxModal.less +6 -4
- package/lib/VtxModal/draggableModal.js +1 -1
- package/lib/VtxSearchMap/VtxSearchMap.css +0 -170
- package/lib/VtxSearchMap/VtxSearchMap.js +5 -5
- package/lib/VtxSearchMap/VtxSearchMap.less +14 -12
- package/lib/default.js +3 -1
- package/package.json +1 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import (reference) '~antd/lib/style/themes/index.less';
|
|
2
|
+
|
|
1
3
|
.vtx-ui-searchmap-searchmodal{
|
|
2
4
|
z-index: 1001;
|
|
3
5
|
.ant-modal{
|
|
@@ -5,7 +7,7 @@
|
|
|
5
7
|
min-width: 800px;
|
|
6
8
|
height: 70vh;
|
|
7
9
|
.ant-modal-title{
|
|
8
|
-
color:
|
|
10
|
+
color: @primary-color;
|
|
9
11
|
}
|
|
10
12
|
.ant-modal-content{
|
|
11
13
|
width: 100%;
|
|
@@ -14,7 +16,7 @@
|
|
|
14
16
|
width: 100%;
|
|
15
17
|
height: e('calc(100% - 108px)') !important;
|
|
16
18
|
padding: 0px;
|
|
17
|
-
background-color:
|
|
19
|
+
background-color: @body-background;
|
|
18
20
|
}
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -38,7 +40,7 @@
|
|
|
38
40
|
}
|
|
39
41
|
.vtx-ui-searchmap-top{
|
|
40
42
|
top: 0px;
|
|
41
|
-
border-bottom: 1px solid
|
|
43
|
+
border-bottom: 1px solid @border-color-base;
|
|
42
44
|
.vtx-ui-searchmap-othermodal{
|
|
43
45
|
position: absolute;
|
|
44
46
|
right: 25px;
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
}
|
|
49
51
|
.vtx-ui-searchmap-bottom{
|
|
50
52
|
bottom: 0px;
|
|
51
|
-
border-top: 1px solid
|
|
53
|
+
border-top: 1px solid @border-color-base;
|
|
52
54
|
text-align: right;
|
|
53
55
|
}
|
|
54
56
|
.vtx-ui-searchmap-content{
|
|
@@ -76,17 +78,17 @@
|
|
|
76
78
|
transition-duration: 0.3s;
|
|
77
79
|
transition-property: width;
|
|
78
80
|
vertical-align: top;
|
|
79
|
-
border-right: 1px solid
|
|
81
|
+
border-right: 1px solid @border-color-base;
|
|
80
82
|
position: absolute;
|
|
81
83
|
top: 0px;
|
|
82
84
|
left: 0px;
|
|
83
85
|
z-index: 10;
|
|
84
|
-
background-color:
|
|
86
|
+
background-color: @body-background;
|
|
85
87
|
.vtx-ui-searchmap-listtitle{
|
|
86
88
|
width: 100%;
|
|
87
89
|
height: 30px;
|
|
88
90
|
line-height: 30px;
|
|
89
|
-
border-bottom: 1px solid
|
|
91
|
+
border-bottom: 1px solid @border-color-base;;
|
|
90
92
|
.vtx-ui-searchmap-title{
|
|
91
93
|
width: e('calc(100% - 30px)');
|
|
92
94
|
display: inline-block;
|
|
@@ -97,7 +99,7 @@
|
|
|
97
99
|
display: inline-block;
|
|
98
100
|
width: 30px;
|
|
99
101
|
text-align: center;
|
|
100
|
-
color:
|
|
102
|
+
color: @primary-color;
|
|
101
103
|
height: 30px;
|
|
102
104
|
line-height: 30px;
|
|
103
105
|
cursor: pointer;
|
|
@@ -106,7 +108,7 @@
|
|
|
106
108
|
.vtx-ui-searchmap-lists{
|
|
107
109
|
width: 100%;
|
|
108
110
|
line-height: 35px;
|
|
109
|
-
border-bottom: 1px solid
|
|
111
|
+
border-bottom: 1px solid @border-color-base;;
|
|
110
112
|
font-size: 12px;
|
|
111
113
|
overflow: hidden;
|
|
112
114
|
text-overflow: ellipsis;
|
|
@@ -116,12 +118,12 @@
|
|
|
116
118
|
color: #999;
|
|
117
119
|
&:hover{
|
|
118
120
|
background-color: #ECF6FD;
|
|
119
|
-
color:
|
|
121
|
+
color: @primary-color;
|
|
120
122
|
}
|
|
121
123
|
}
|
|
122
124
|
.vtx-ui-searchmap-lists.vtx-ui-searchmap-select{
|
|
123
125
|
background-color: #ECF6FD;
|
|
124
|
-
color:
|
|
126
|
+
color: @primary-color;
|
|
125
127
|
}
|
|
126
128
|
.vtx-ui-searchmap-scrollauto{
|
|
127
129
|
height: e('calc(100% - 30px)');
|
|
@@ -139,7 +141,7 @@
|
|
|
139
141
|
}
|
|
140
142
|
.vtx-ui-searchmap-btn{
|
|
141
143
|
text-align: center;
|
|
142
|
-
color:
|
|
144
|
+
color: @primary-color;
|
|
143
145
|
height: 30px;
|
|
144
146
|
line-height: 30px;
|
|
145
147
|
cursor: pointer;
|
package/lib/default.js
CHANGED
|
@@ -19,12 +19,14 @@ if (antdMajorVersion === '3') {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
var VtxMapIcon = exports.VtxMapIcon = createFromIconfontCN({
|
|
22
|
-
scriptUrl: '//at.alicdn.com/t/
|
|
22
|
+
scriptUrl: '//at.alicdn.com/t/font_2865072_vy1sa1whz3l.js'
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
var globalCfg = window.VtxPublicServiceAddress || {};
|
|
26
26
|
|
|
27
27
|
exports.default = {
|
|
28
|
+
// 百度地图资源请求地址
|
|
29
|
+
bmapScriptUrl: globalCfg.bmapScriptUrl ? globalCfg.bmapScriptUrl : '//api.map.baidu.com/getscript?v=3.0&ak=42IughV5lDxAt0wI8AhDVuGR',
|
|
28
30
|
//地图服务地址ip
|
|
29
31
|
mapServerURL: globalCfg.mapServerURL ? globalCfg.mapServerURL : '//vortexplugin.cloudhw.cn/mapplugin',
|
|
30
32
|
//arcgis地图服务ip
|