New answers tagged getfeatureinfo
If your problem is communicating with the iframe you create, try to use otherWindow.postMessage(message, targetOrigin, [transfer]); It's a nice way to communicate between windows or frames. Here is the doc
You are making a GetFeatureInfo request with a application/json as INFO_FORMAT parameter, so a JSON is what your are going to obtain. Not sure about your expectations here. If you need to get the properties of the json to make something with it, as show it in your html templates, just parse the json response. JSON.parse(json) If you are using geoserver, ...
Top 50 recent answers are included