File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ async function initMap() {
13
13
}
14
14
15
15
const archerDanielMidlandPosition = {
16
- lat : 41.42 ,
17
- lng : - 97.29
16
+ lat : 41.42 ,
17
+ lng : - 97.29
18
18
}
19
19
20
20
map = new Map ( document . getElementById ( "map" ) , {
@@ -151,11 +151,25 @@ initMap().then(async () => {
151
151
152
152
$ ( '#results' ) . empty ( )
153
153
. append ( summaryTable )
154
- //.append(infoTable.clone())
154
+ // .append(infoTable.clone())
155
155
156
156
resetGenerationProfileGraphs ( )
157
157
} ) ;
158
158
159
159
}
160
160
} ) ;
161
+
162
+ let dismissAttempts = 0
163
+ let gmapDismissWorkaround = function ( ) {
164
+ let dismissBtn = document . querySelector ( '#map .dismissButton' )
165
+ dismissAttempts += 1
166
+ if ( dismissBtn ) {
167
+ dismissBtn . click ( )
168
+ } else if ( dismissAttempts < 69 ) {
169
+ setTimeout ( gmapDismissWorkaround , 250 )
170
+ } else {
171
+ console . warn ( 'Failed to find gmap dismiss button after max attempts, giving up' )
172
+ }
173
+ }
174
+ setTimeout ( gmapDismissWorkaround , 500 )
161
175
} ) ;
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ <h1 class="mui--text-title">
69
69
indicates how close temps at 3000m are to unit temperature; darker blue = closer to unit temp
70
70
</ p >
71
71
< p >
72
- You may also be interested in using the < a href ="/geothermal/geophires "> GEOPHIRES web interface</ a > .
72
+ You may also be interested in the < a href ="/geothermal/geophires "> GEOPHIRES web interface</ a > .
73
73
</ p >
74
74
</ div >
75
75
</ div >
You can’t perform that action at this time.
0 commit comments