<div dir="ltr"><div><br></div><div>Hi all,</div><div><br></div><div>Looking at the OpenLayers docs here:</div><div><a href="https://openlayers.org/en/v5.3.0/apidoc/module-ol_source_TileArcGISRest.html">https://openlayers.org/en/v5.3.0/apidoc/module-ol_source_TileArcGISRest.html</a></div><div><br></div><div>I was wondering if GM is supporting the parameter option for 'LAYERS'? <br></div><div><br></div><div>Tried setting up an example map source like this:</div><div><br></div><div>    <map-source name="statewaters" type="ags"><br>          <url><a href="https://maps.dsl.state.or.us/arcgis/rest/services/Maps/StateOwnedWaters_20/MapServer">https://maps.dsl.state.or.us/arcgis/rest/services/Maps/StateOwnedWaters_20/MapServer</a></url><br>          <layer name="0"/>       <!-- River mile --><br>             <layer name="1"/>       <!-- Head of Tide --><br>           <param name="FORMAT" value="image/png"/><br>            <param name="TRANSPARENT" value="TRUE"/><br>            <param name="cross-origin" value="anonymous"/><br>      </map-source></div><div><br></div><div>and then tried to request just one of the available layers (name="0"). GM sends a request that looks like this:</div><div><br></div><div><a href="https://maps.dsl.state.or.us/arcgis/rest/services/Maps/StateOwnedWaters_20/MapServer/export?F=image&FORMAT=PNG32&TRANSPARENT=true&SIZE=256%2C256&BBOX=-13790462.895098358%2C5562169.674255706%2C-13785570.925288107%2C5567061.6440659575&BBOXSR=3857&IMAGESR=3857&DPI=90">https://maps.dsl.state.or.us/arcgis/rest/services/Maps/StateOwnedWaters_20/MapServer/export?F=image&FORMAT=PNG32&TRANSPARENT=true&SIZE=256%2C256&BBOX=-13790462.895098358%2C5562169.674255706%2C-13785570.925288107%2C5567061.6440659575&BBOXSR=3857&IMAGESR=3857&DPI=90</a></div><div><br></div><div>this returns all layers at once rather than the requested single layer.</div><div><br></div><div>Instead, I was hoping the request would look like:</div><div><br></div><div><a href="https://maps.dsl.state.or.us/arcgis/rest/services/Maps/StateOwnedWaters_20/MapServer/export?F=image&FORMAT=PNG32&TRANSPARENT=true&SIZE=256%2C256&BBOX=-13790462.895098358%2C5562169.674255706%2C-13785570.925288107%2C5567061.6440659575&BBOXSR=3857&IMAGESR=3857&DPI=90&layers=show:0">https://maps.dsl.state.or.us/arcgis/rest/services/Maps/StateOwnedWaters_20/MapServer/export?F=image&FORMAT=PNG32&TRANSPARENT=true&SIZE=256%2C256&BBOX=-13790462.895098358%2C5562169.674255706%2C-13785570.925288107%2C5567061.6440659575&BBOXSR=3857&IMAGESR=3857&DPI=90&layers=show:0</a></div><div><br></div><div>which behaves as expected and only returns an image of the single layer requested.</div><div><br></div><div>This might be a good enhancement request if it is not already supported, but I wasn't sure if I was missing something obvious first...</div><div><br></div><div>T<br></div><div><br></div><div><br></div><div><br></div></div>