Skip to content

Commit

Permalink
add a new infoFormat selector in advanced raster settings (geosolutio…
Browse files Browse the repository at this point in the history
…ns-it#9007)

fetches capabilities upon open
  • Loading branch information
landryb committed Apr 24, 2023
1 parent a895b8b commit fe5cda3
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,30 @@ export default ({
</Button>
</Col >
</FormGroup>
<FormGroup style={advancedRasterSettingsStyles}>
<Col xs={6}>
<ControlLabel><Message msgId="infoFormatLbl" /></ControlLabel>
</Col >
<Col xs={6} style={{marginBottom: '5px', display: 'flex', alignItems: 'center' }}>
<div style={{ flex: 1 }}>
<Select
isLoading={props.formatsLoading}
onOpen={() => onFormatOptionsFetch(service.url)}
value={service && service.infoFormat}
clearable
options={props.formatsLoading ? [] : infoFormatOptions.map((format) => ({ value: format, label: format }))}
onChange={event => onChangeServiceProperty("infoFormat", event && event.value)} />
</div>
<Button
disabled={props.formatsLoading}
tooltipId="catalog.format.refresh"
className="square-button-md no-border"
onClick={() => onFormatOptionsFetch(service.url, true)}
key="format-refresh">
<Glyphicon glyph="refresh" />
</Button>
</Col >
</FormGroup>
<FormGroup style={advancedRasterSettingsStyles}>
<Col xs={6} >
<ControlLabel><Message msgId="layerProperties.wmsLayerTileSize" /></ControlLabel>
Expand Down

0 comments on commit fe5cda3

Please sign in to comment.