<br><br>On Friday, March 2, 2012, Scott Chapman &lt;<a href="mailto:scott@mischko.com">scott@mischko.com</a>&gt; wrote:<br>&gt; Here&#39;s my current code.  &quot;A&quot; works. &quot;B&quot; doesn&#39;t.<br>&gt; Is there something else I need to add to make the features actually show up?<br>
&gt;<br>&gt; //A:<br>&gt;       var vector_layer = new OpenLayers.Layer.Vector(&quot;Stores&quot;);<br>&gt;       map.addLayer(vector_layer);<br>&gt;<br>&gt;       OpenLayers.Request.GET({<br>&gt;              url: &quot;/kiosks_status_geoJSON/&quot;,<br>
&gt;              headers: {&#39;Accept&#39;:&#39;application/json&#39;},<br>&gt;              success: function (req)<br>&gt;                       {<br>&gt;                       var g = new OpenLayers.Format.GeoJSON();<br>
&gt;                       var feature_collection = g.read(req.responseText);<br>&gt;                       //console.log(feature_collection);<br>&gt;                       vector_layer.destroyFeatures();<br>&gt;                       vector_layer.addFeatures(feature_collection);<br>
&gt;                       }<br>&gt;          });<br>&gt; //vs:<br>&gt;<br>&gt; //B:<br>&gt;       var vector_layer = new OpenLayers.Layer.Vector(&quot;Stores&quot;, {<br>&gt;         strategies: [new OpenLayers.Strategy.Cluster(), new<br>
&gt; OpenLayers.Strategy.Fixed()],<br>&gt;           protocol: new OpenLayers.Protocol.HTTP({<br>&gt;                     url: &quot;/kiosks_status_geoJSON/&quot;,<br>&gt;                 headers: {&#39;Accept&#39;:&#39;application/json&#39;},<br>
&gt;                  format: new OpenLayers.Format.GeoJSON()<br>&gt;           })<br>&gt;       });<br>&gt;       map.addLayer(vector_layer);<br><br>What if you remove the cluster strategy?<br><br>-- <br>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">http://www.camptocamp.com</a><br>
<br>