Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit cd54e80

Browse files
authored
Merge pull request #156 from bartvde/style-layer-page
Also allow styling in layer detail page
2 parents 64971e0 + 70cabc7 commit cd54e80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/geonode.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class GeoNodeViewer extends React.Component {
152152
<div id='globe-button'><Globe tooltipPosition='right' map={map} /></div>
153153
<div id='print-button'><QGISPrint menu={false} map={map} layouts={this.props.printLayouts} /></div>
154154
<div id='home-button'><HomeButton extent={this._extent} tooltipPosition='right' map={map} /></div>
155-
<div><LayerList showZoomTo={true} addBaseMap={{tileServices: undefined}} addLayer={layerList} showTable={true} allowReordering={true} includeLegend={true} allowRemove={this.edit} tooltipPosition='left' allowStyling={this.edit} map={map} /></div>
155+
<div><LayerList showZoomTo={true} addBaseMap={{tileServices: undefined}} addLayer={layerList} showTable={true} allowReordering={true} includeLegend={true} allowRemove={this.edit} tooltipPosition='left' allowStyling={this.edit || this.props.zoomToLayer} map={map} /></div>
156156
<div id='zoom-buttons'><Zoom tooltipPosition='right' map={map} /></div>
157157
<div id='rotate-button'><Rotate autoHide={true} tooltipPosition='right' map={map} /></div>
158158
<div id='popup' className='ol-popup'><InfoPopup toggleGroup='navigation' toolId='nav' infoFormat='application/vnd.ogc.gml' map={map} /></div>

0 commit comments

Comments
 (0)