Zoom to the extent of the WMS layer in GeoServer by OpenLayers 3?
I would like to use OpenLayers 3 (I saw similar question for OpenLayers 2) to display a GeoServer layer using WMS, and zoom to the extent of the layer automatically by getting the extent information from this layer.
https://gis.stackexchange.com/questions/138998/zoom-to-the-extent-of-the-wms-layer-in-geoserver-by-openlayers-3