<div>Firebug doesn&#39;t pick anything up.</div><br><div class="gmail_quote">On Mon, Aug 3, 2009 at 8:54 PM, Christopher Schmidt <span dir="ltr">&lt;<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">On Mon, Aug 03, 2009 at 08:35:10PM +0300, Nicholas Efremov-Kendall wrote:<br>
&gt; Hi all,<br>
&gt; Not sure what&#39;s going on here, and what/why I&#39;m doing wrong.<br>
&gt; I&#39;m loading successfully a gml layer which isn&#39;t displaying in the right<br>
&gt; place<br>
&gt; var topo = new OpenLayers.Layer.GML (&quot;Topography&quot;, &quot;data/topo.gml&quot;,<br>
&gt;   {<br>
&gt;   style: {strokeWidth: 1, strokeColor:&quot;#CCCCCC&quot;},<br>
&gt;   }<br>
&gt;   );<br>
&gt;<br>
&gt; when I add projection and format criteria, it doesn&#39;t display at all, let<br>
&gt; alone in the wrong place, and the auto map.setCenter function doesn&#39;t work.<br>
&gt;  var topo = new OpenLayers.Layer.GML (&quot;Topography&quot;, &quot;data/topo.gml&quot;,<br>
&gt;   {<br>
&gt;   style: {strokeWidth: 1, strokeColor:&quot;#CCCCCC&quot;},<br>
&gt;   projection: new OpenLayers.Projection(&quot;EPSG:4326&quot;),<br>
&gt;   format: OpenLayers.Format.GML,<br>
&gt;   }<br>
&gt;   );<br>
&gt;<br>
&gt; Is there anything really obvious that I&#39;m missing? thanks again, in advance<br>
<br>
</div></div>Are you using IE? If so, the trailing &#39;,&#39; after format will fail.<br>
Do you have a debugger/error reporting turned on? Check these things first<br>
for errors.<br>
<br>
Otherwise:<br>
  <a href="http://docs.openlayers.org/help/minimize.html" target="_blank">http://docs.openlayers.org/help/minimize.html</a><br>
<br>
Regards,<br>
<font color="#888888">--<br>
Christopher Schmidt<br>
MetaCarta<br>
</font></blockquote></div><br>