<span id="result_box" class="long_text"><span style="background-color: rgb(255, 255, 255);" title="hi all, he tenido problemas para agregar layers con archivos GML y no entiendo donde puede estar el error, que estoy haciendo mal, adicionalmete no quiero utilizar la layer de metacarta, sino unicamente mis archivos gml.">hi
all, I&#39;ve had trouble adding layers with GML files and do not
understand where he might be wrong, I&#39;m doing wrong, I do not want to
use adicionalmete MetaCarta layer, but only my files gml.<br><br></span><span style="background-color: rgb(255, 255, 255);" title="este un fragmento de lo que estoy haciendo:">this a fragment of what I&#39;m doing:</span></span><br>
<br><br>  // create map<br>            map = new OpenLayers.Map(&quot;map&quot;,{<br>                    units:&quot;m&quot;,<br>                    scales: [2000000,1000000,500000,250000,100000,50000,25000,10000,5000,2500,1000,500,250],<br>
                    // proyeccion colombia<br>                    projection:&quot;EPSG:21891&quot;,<br>                    maxExtent: new OpenLayers.Bounds(1059780, 865620,<br>                        1061051, 864202)<br>
                });<br><br>            var Lindero = new OpenLayers.Layer.GML(&quot;Lindero&quot;, &quot;GML/LINDERO.gml&quot;, {<br>      format: OpenLayers.Format.GML,<br>      formatOptions: {<br>        &#39;extractStyles&#39;: true<br>
      }<br>   });<br>   map.addLayer(Lindero);<br>   <br>        var edificaciones = new OpenLayers.Layer.GML(&quot;edificaciones&quot;, &quot;GML/edificaciones.gml&quot;, {<br>      format: OpenLayers.Format.GML,<br>      formatOptions: {<br>
        &#39;extractStyles&#39;: true<br>      }<br>   });<br>   map.addLayer(edificaciones);<br><br>            <br>            var redpeatonal = new OpenLayers.Layer.GML(&quot;red peatonal&quot;, &quot;GML/peatonalred.gml&quot;, {<br>
      format: OpenLayers.Format.GML,<br>      formatOptions: {<br>        &#39;extractStyles&#39;: true<br>      }<br>   });<br>   map.addLayer(redpeatonal);        <br>                    <br>                    <br>                if (!mapa.getCenter()) mapa.zoomToMaxExtent();<br>
                <br><br><br><br><br><br><br><br><span id="result_box" class="long_text"><span style="background-color: rgb(255, 255, 255);" title="gracias por cualquier respuesta">thanks for any response</span></span><br>
<br><br><br><br><br clear="all">Ricardo Rodríguez<br>Ing. Topográfico<br>Univalle<br>