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 4141 .ol-overlaycontainer-stopevent {
4242 height : 0% !important ;
4343 }
44+
45+ .ol-overlaycontainer {
46+ pointer-events : auto !important ;
47+ }
4448 </ style >
4549</ head >
4650
@@ -51,7 +55,7 @@ <h2 id="title" data-i18n="resources.title_lianjia"></h2>
5155 </ div >
5256 < script type ="text/javascript " include ="jquery " src ="../js/include-web.js "> </ script >
5357 < script >
54-
58+
5559 var host = window . isLocal ? window . server : "https://iserver.supermap.io" ;
5660
5761 var url = host + "/iserver/services/map-china400/rest/maps/ChinaDark" ;
@@ -161,7 +165,7 @@ <h2 id="title" data-i18n="resources.title_lianjia"></h2>
161165
162166 var pointRightBottom = [ api . value ( 3 ) , api . value ( 4 ) ] ;
163167 pointRightBottom = map . getPixelFromCoordinate ( pointRightBottom ) ;
164-
168+
165169 return {
166170 type : 'rect' ,
167171 shape : {
@@ -180,4 +184,4 @@ <h2 id="title" data-i18n="resources.title_lianjia"></h2>
180184 </ script >
181185</ body >
182186
183- </ html >
187+ </ html >
Original file line number Diff line number Diff line change 1212 .ol-overlaycontainer-stopevent {
1313 height : 0% !important ;
1414 }
15+
16+ .ol-overlaycontainer {
17+ pointer-events : auto !important ;
18+ }
1519 </ style >
1620</ head >
1721< body style =" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0; ">
129133 } ) ;
130134</ script >
131135</ body >
132- </ html >
136+ </ html >
You can’t perform that action at this time.
0 commit comments