I want to limit my wms tile layers with a region. I saw a parameter in the WMSTileLayer bounds, however it can't be usable it always gives an error lat long.
TypeError: Cannot read property 'lat' of undefined
It looks like wms tile layer not overlapping with coordinates. I set the srs option such a below
<WMSTileLayer
layers={tile.layer}
format='image/png8'
version='1.3'
url={tile.url}
tiled={true}
bounds={tile.bounds}
time={tile.date}
transparent={true}
zIndex={tile.zIndex}
srs={CRS.EPSG4326}
/>
and bounds
bounds: [
[27.5, 37.5],
[28.24, 37.9]
]
Geoserver configuration can be shown in the image.

Thanks for your help.