Zoom to the extent of the WMS layer in GeoServer by OpenLayers 3?
Just use ol.proj.transformExtent
in between to transform your extent. You can also use layer.latlonBBOX
from the GetCapabilities
parser output so you always know the source bounding box is in EPSG:4326.