File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,6 @@ var GEOComp = (function () {
217
217
extent : any ;
218
218
resizeOffset : number ;
219
219
external : any ;
220
- test : any
221
220
} ) => {
222
221
//Default size of component
223
222
const [ dimensions , setDimensions ] = useState ( { width : 650 , height : 460 } ) ;
@@ -310,7 +309,7 @@ var GEOComp = (function () {
310
309
311
310
//Create the container for the component
312
311
return (
313
- < div ref = { conRef } className = " geowrapper"
312
+ < div ref = { conRef } className = { styles . geowrapper }
314
313
style = { {
315
314
backgroundColor : `${ props . styles . backgroundColor } ` ,
316
315
borderColor : `${ props . styles . border } ` ,
Original file line number Diff line number Diff line change @@ -207,9 +207,8 @@ function Geo(props) {
207
207
208
208
useEffect ( ( ) => {
209
209
if ( geoRef ) {
210
- geoRef . innerHTML = "<div id='GEO_" + geoId + "' " + ( featureEnabled ( 'largeButtons' ) ? "class='ol-large'" : "" ) +
210
+ geoRef . innerHTML = "<div id='GEO_" + geoId + "' " + ( featureEnabled ( 'largeButtons' ) ? "class='geo ol-large'" : "geo " ) +
211
211
" style='height:100%;width:100%'></div>"
212
-
213
212
//The real map object
214
213
var map = new Map ( {
215
214
controls : [ ] ,
You can’t perform that action at this time.
0 commit comments