/** @see org.geoserver.wms.GetMapOutputFormat#produceMap(org.geoserver.wms.WMSMapContent) */ public RawMap produceMap(WMSMapContent mapContent) throws ServiceException, IOException { if (isOL3Enabled(mapContent) && ol3Format.browserSupportsOL3(mapContent)) { return ol3Format.produceMap(mapContent); } else { return ol2Format.produceMap(mapContent); } }