<div dir="ltr">Hi ,<br><br>i would like to display a gml v3 layer from a gml file with openlayers. so whene i use  this code whith the simple GML format.like this :<br><br>var gmllayer= new OpenLayers.Layer.GML(&quot;amine&quot;,&quot;gml/services.xml&quot;,{<br>
            <br>            projection: new OpenLayers.Projection(&quot;EPSG:4326&quot;),<br>    <br>     format:  OpenLayers.Format.GML,<br>      formatOptions: {<br>       <br>         extractAttributes: true<br>         },<br>
                styleMap: new OpenLayers.StyleMap({<br>                    &quot;default&quot;: new OpenLayers.Style(OpenLayers.Util.applyDefaults({<br>                      <br>                        externalGraphic: &quot;am.png&quot;,<br>
                         graphicOpacity: 1,<br>                        rotation: 45,<br>                        pointRadius: 7<br>                    }, OpenLayers.Feature.Vector.style[&quot;default&quot;])),<br>                    &quot;select&quot;: new OpenLayers.Style(OpenLayers.Util.applyDefaults({<br>
                       <br>                      externalGraphic: &quot;../img/marker-blue.png&quot;,<br>                      <br>                        fillColor: &quot;gray&quot;<br>                    }, OpenLayers.Feature.Vector.style[&quot;select&quot;]))<br>
                })<br>            }); <br><br>the result in the map is like a <span id="result_box" class="short_text"><span style="" title="">disperse polygones, because the real gml format in my file is multisurface and surface (new format for gml V3).<br>
<br>and whene i specifie the format  </span></span>format:  OpenLayers.Format.GML.V3 like this, i got nothing <span> without success</span> ,<br><br>var fir= new OpenLayers.Layer.GML(&quot;amine&quot;,&quot;gml/services.xml&quot;,{<br>
            <br>            projection: new OpenLayers.Projection(&quot;EPSG:4326&quot;),<br>      format: OpenLayers.Format.GML.v3,<br>    <br>    <br>    <br>     formatOptions : {<br>     surface: true,<br>             featureType: &quot;fir&quot;,<br>
             featureNS:&quot;xmlns(app=<a href="http://www.deegree.org/app">http://www.deegree.org/app</a>)&quot;,<br>             geometryName: &quot;geom&quot;,<br>              srsName: &quot;EPSG:4326&quot;,<br>              schemaLocation: &quot;<a href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</a>&quot;<br>
          }<br>            });<br><br>please if someone knows how to display a gml V3 layers with openlayers ,i &#39;m using deegree server and gml v3 is a response for deegree WFS v 1.1.0.<br><br>thanks to reply.<br></div>