<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt;color:#000000;"><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Hi,</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; ">I´m obviously missing something basic here...my BBOX strategy is still loading all the features.</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">var BBOXStrategy = new OpenLayers.Strategy.BBOX();</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">
</font></span></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre"> </span>var highlight_style = new OpenLayers.StyleMap({</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> "default": new OpenLayers.Style(OpenLayers.Util.applyDefaults({</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> title: "WEA",</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> graphicName: "circle",</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> fillColor: "#56E3FF",</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">
strokeColor: "#3A3F3B",</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> strokeWidth: 0.5,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> fillOpacity: 1,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> pointRadius: 7</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> }, OpenLayers.Feature.Vector.style["default"])),</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> "select": new OpenLayers.Style(OpenLayers.Util.applyDefaults({</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">
title: "WEA",</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> graphicName: "circle",</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> fillColor: "#FF0000",</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> strokeColor: "#3A3F3B",</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> strokeWidth: 2,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> fillOpacity: 1,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> pointRadius:
9</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> }, OpenLayers.Feature.Vector.style["select"]))</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> });</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> </font></span></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> var layer_wea = new OpenLayers.Layer.Vector('Windkraftanlagen', {</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre"> </span>strategies: [BBOXStrategy],</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre"> </span>protocol: new
OpenLayers.Protocol.WFS({</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> <span class="Apple-tab-span" style="white-space:pre"> </span><span> url: "<a target="_blank" href="http://maps.zgb.de/geoserver/wfs">http://maps.zgb.de/geoserver/wfs</a>?",</span></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> version: "1.1.0",</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> featureType: "wea_wgs84",</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><span> featureNS: "<a target="_blank" href="http://www.zgb.de/postgis">http://www.zgb.de/postgis</a>",</span></font></div><div><font class="Apple-style-span"
face="arial, helvetica, sans-serif" size="2"> srsName: "EPSG:900913"</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> }),</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> styleMap: highlight_style,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> visibility: false</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> });</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> map.addLayer(layer_wea);</font></div></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica,
sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">have I forgotten something?</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">yours,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">Rob</font></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; position: fixed; "></div>
</div></body></html>