<br><br>On Tuesday, December 27, 2011, rscxdev &lt;<a href="mailto:rscxdev@gmx.de">rscxdev@gmx.de</a>&gt; wrote:<br>&gt; Hello<br>&gt;<br>&gt; i&#39;m struggling a few hours now with the following problem:<br>&gt;<br>&gt; I use a vector layer + BBOX strategy to get features when panning/zooming<br>
&gt; the map:<br>&gt;<br>&gt;<br>&gt; var prot = new OpenLayers.Protocol.HTTP({<br>&gt;                        url: getfeat_url,<br>&gt;                        readWithPOST: true,<br>&gt;                        params: {<br>
&gt;<br>&gt;                                ... (a few parameters for the request)<br>&gt;<br>&gt;                        },<br>&gt;                        format: new JSON({<br>&gt;                                &#39;internalProjection&#39;: new OpenLayers.Projection(&quot;EPSG:900913&quot;),<br>
&gt;                                &#39;externalProjection&#39;: new OpenLayers.Projection(&quot;EPSG:4326&quot;)<br>&gt;                        })<br>&gt;<br>&gt;                    });<br>&gt;<br>&gt; var feat_layer = new OpenLayers.Layer.Vector(&quot;Features&quot;, {<br>
&gt;                strategies: [new OL_BBOX({resFactor: 1.1})],<br>&gt;                protocol: prot,<br>&gt;                styleMap: styleMap<br>&gt;<br>&gt;                   });<br>&gt;<br>&gt; var osm_layer = new OpenLayers.Layer.OSM.Mapnik(&quot;Mapnik&quot;);<br>
&gt; map.addLayers([osm_layer, feat_layer]);<br>&gt;<br>&gt; (standard code which you can find in examples)<br>&gt;<br>&gt; I used this code in openlayers 2.10 and all was fine.<br>&gt; Now i changed to openlayers 2.11 and all is working fine except for features<br>
&gt; that aren&#39;t loaded when moving the map.<br>&gt; But<br>&gt; - if i set visibility of the feature layer to false, then to true, the<br>&gt; features are loaded.<br>&gt; - if i zoomed in/out, the features are loaded.<br>
&gt; Only, when i move the map, no feature is loaded (there&#39;s no HTTP request<br>&gt; resp.).<br>&gt;<br>&gt; I read other posts concerning similar problems and therefore tried to set<br>&gt; ratio (in BBOX class) to 1, to 1.4, to 1.8, but the problem remained. Also<br>
&gt; changing the maxfeatures parameter of the HTTP class didnt solve the<br>&gt; problem.<br>&gt;<br>&gt; Could someone give me a hint how to solve this, please?<br><br>Hi<br><br>Any chance to view a live example demonstrating the problem?<br>
<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>