I have a simple application that uses OpenLayers 2.13.1 to draw GML data pasted in a text box. There is already some default GML preloaded in textarea and it works fine. When you press "Add feature" button, it draws polygons on the map.
GitHub link: https://github.com/mleontenko/OpenLayers2-DrawGML/blob/develop/index.html
Now, I have some other GML data that i get with WMS GetFeatureInfo request. It looks like this: https://raw.githubusercontent.com/mleontenko/gml/master/croatia.gml
But this new GML doesn't draw visible polygons on map. Does anyone know why? And, what do i need to do to draw this GML correctly?
gml:boundedBy
content. #2 The projections between your examples is different. The GetFeatureInfo version returns coordinates as EPSG::3857, the first does not.