File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 41
41
.ol-overlaycontainer-stopevent {
42
42
height : 0% !important ;
43
43
}
44
+
45
+ .ol-overlaycontainer {
46
+ pointer-events : auto !important ;
47
+ }
44
48
</ style >
45
49
</ head >
46
50
@@ -51,7 +55,7 @@ <h2 id="title" data-i18n="resources.title_lianjia"></h2>
51
55
</ div >
52
56
< script type ="text/javascript " include ="jquery " src ="../js/include-web.js "> </ script >
53
57
< script >
54
-
58
+
55
59
var host = window . isLocal ? window . server : "https://iserver.supermap.io" ;
56
60
57
61
var url = host + "/iserver/services/map-china400/rest/maps/ChinaDark" ;
@@ -161,7 +165,7 @@ <h2 id="title" data-i18n="resources.title_lianjia"></h2>
161
165
162
166
var pointRightBottom = [ api . value ( 3 ) , api . value ( 4 ) ] ;
163
167
pointRightBottom = map . getPixelFromCoordinate ( pointRightBottom ) ;
164
-
168
+
165
169
return {
166
170
type : 'rect' ,
167
171
shape : {
@@ -180,4 +184,4 @@ <h2 id="title" data-i18n="resources.title_lianjia"></h2>
180
184
</ script >
181
185
</ body >
182
186
183
- </ html >
187
+ </ html >
Original file line number Diff line number Diff line change 12
12
.ol-overlaycontainer-stopevent {
13
13
height : 0% !important ;
14
14
}
15
+
16
+ .ol-overlaycontainer {
17
+ pointer-events : auto !important ;
18
+ }
15
19
</ style >
16
20
</ head >
17
21
< body style =" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0; ">
129
133
} ) ;
130
134
</ script >
131
135
</ body >
132
- </ html >
136
+ </ html >
You can’t perform that action at this time.
0 commit comments