<div>Hi Eric,<br></div><div></div><div>Yes, somewhat.</div><br><div class="gmail_quote">On Tue, Aug 4, 2009 at 10:29 PM, Eric Lemoine <span dir="ltr">&lt;<a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Tuesday, August 4, 2009, Nicholas Efremov-Kendall<br>
<div class="im">&lt;<a href="mailto:n.e.kendall@gmail.com">n.e.kendall@gmail.com</a>&gt; wrote:<br>
</div><div class="im">&gt; Hi Eric,<br>
&gt; I&#39;m still new to Jscript, can you clarify this a little? or point me in the right direction?<br>
<br>
</div>Hi. I meant install the FireBug extension in FireFox and use it to add<br>
breakpoints in the code and watch variables. Hope this clarifies<br>
things...<br>
<div><div class="h5"><br>
<br>
<br>
best,Nick<br>
&gt; On Tue, Aug 4, 2009 at 7:47 AM, Eric Lemoine &lt;<a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a>&gt; wrote:<br>
&gt; On Monday, August 3, 2009, Nicholas Efremov-Kendall<br>
&gt; &lt;<a href="mailto:n.e.kendall@gmail.com">n.e.kendall@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Hi all,I&#39;ve been trying to implement my gml as a layer.vector, as opposed to a layer.gml. I&#39;m loading both into the browser with the different methods, and I can from firebug that the file is getting loaded, but it&#39;s not being displayed. Thus, if I re-sent my auto-center to sites2.events, it doesn&#39;t center at all. I&#39;m not sure what going wrong here, I thought I&#39;d followed the examples pretty closely. Thanks (again) in advance.<br>

&gt;&gt; //loads fine var      sites = new OpenLayers.Layer.GML (<br>
&gt;&gt;               &quot;Archaeological Sites&quot;, &quot;data/siteswatr.gml&quot;,<br>
&gt;&gt;               {<br>
&gt;&gt;               style: {pointRadius: 2.5},<br>
&gt;&gt;               projection: new OpenLayers.Projection(&quot;EPSG:4326&quot;),<br>
&gt;&gt;               format: OpenLayers.Format.GML,<br>
&gt;&gt;               }<br>
&gt;&gt;               );<br>
&gt;&gt;       map.addLayer(sites);<br>
&gt;&gt;  // loads into browser but not displayed.<br>
&gt;&gt;               var sites2 = new OpenLayers.Layer.Vector (<br>
&gt;&gt;               &quot;sites2&quot;, {projection: map.displayProjection, strategies: [new OpenLayers.Strategy.Fixed()], protocol: new OpenLayers.Protocol.HTTP({url: &quot;data/siteswatr.gml&quot;, format: [new OpenLayers.Format.GML()]})});<br>

&gt;&gt;               map.addLayer(sites2);<br>
&gt;<br>
&gt; Your code looks correct to me. The Fixed strategy empties the layer<br>
&gt; before adding features into it, which could explain why you see one<br>
&gt; set of features only. I&#39;d recommend adding a break point in the fixed<br>
&gt; strategy&#39;s merge() method to understand what&#39;s going on.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Eric Lemoine<br>
&gt;<br>
&gt; Camptocamp France SAS<br>
&gt; Savoie Technolac, BP 352<br>
&gt; 73377 Le Bourget du Lac, Cedex<br>
&gt;<br>
&gt; Tel : 00 33 4 79 44 44 96<br>
&gt; Mail : <a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>
&gt; <a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a><br>
&gt;<br>
&gt;<br>
<br>
</div></div>--<br>
<div><div class="h5">Eric Lemoine<br>
<br>
Camptocamp France SAS<br>
Savoie Technolac, BP 352<br>
73377 Le Bourget du Lac, Cedex<br>
<br>
Tel : 00 33 4 79 44 44 96<br>
Mail : <a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>
<a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a><br>
</div></div></blockquote></div><br>