Hi all, I have the following code / var wmsSource = new ol.source.TileWMS({ url: 'servername', params: {'LAYERS': 'eventi'}, serverType: 'qgis', crossOrigin: 'anonymous' }); var url = wmsSource.getGetFeatureInfoUrl( evt.coordinate, viewResolution, 'EPSG:3857', {'INFO_FORMAT': 'text/plain', 'propertyName': 'formal_en'}); My WMS server accepts as INFO_FORMAT only: text/plain text/html text/xml/
And then before to print out response on my iframe I need to parse output response in order to understand if the point has details or not in my database. I'm trying to use AJAX but the server do not support CORS. Do you have any suggestions about issue resolution ? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/getfeatureinfo-wms-qgisserver-OL3-tp5289991.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users