Hi,

I try to generate my custom build for OpenLayers and it works fine but not
for this layer:

        var poilayer = new OpenLayers.Layer.Vector("poilayer)", {
                strategies: [new OpenLayers.Strategy.Refresh({force:true}),
new OpenLayers.Strategy.BBOX({ratio:1, resFactor: 1})],  
                protocol: new OpenLayers.Protocol.HTTP({
                        url: "ajax/getpoijson.php?",
                        format: new OpenLayers.Format.GeoJSON()
                }),
                styleMap: styleMapPoi,
                projection: mapProj,
                units: projUnits,
                'isBaseLayer': false,
                visibility: true,
                alwaysInRange: false
        });

If I use the precompiled file OpenLayers.js everything works fine. The ajax
request looks like this:
http://localhost/testclient/ajax/getpoijson.php?qidstr=industriedesign&rando
m=38987866&bbox=3459676.5453535,5482544.2116316,3463043.4546465,5484471.7883
684


If I use my custom build there is no bbox variable in my ajax request.
I get no error in firebug. Which class is missing to get a full request with
the bbox-parameter?

Here is my configuration file:

[first]

[last]

[include]
OpenLayers/Map.js
OpenLayers/Kinetic.js
OpenLayers/Projection.js
OpenLayers/Rule.js
OpenLayers/Strategy.js

OpenLayers/Layer/WMS.js
OpenLayers/Layer/TMS.js
OpenLayers/Layer/WMTS.js
OpenLayers/Layer/Vector.js
OpenLayers/Control/TouchNavigation.js
OpenLayers/Control/Geolocate.js
OpenLayers/Control/Zoom.js
OpenLayers/Control/Navigation.js
OpenLayers/Control/Attribution.js
OpenLayers/Control/SelectFeature.js
OpenLayers/Control/DrawFeature.js
OpenLayers/Control/ModifyFeature.js
OpenLayers/Control/KeyboardDefaults.js
OpenLayers/Control/Panel.js
OpenLayers/Control/Measure.js
OpenLayers/Control/MousePosition.js
OpenLayers/Control/PanZoomBar.js
OpenLayers/Handler/Point.js
OpenLayers/Handler/Path.js
OpenLayers/Handler/Polygon.js
OpenLayers/Renderer/SVG.js
OpenLayers/Renderer/Canvas.js
OpenLayers/Renderer/VML.js
OpenLayers/Format/GeoJSON.js
OpenLayers/Protocol/HTTP.js
OpenLayers/Strategy/Fixed.js
OpenLayers/Strategy/BBOX.js
OpenLayers/Strategy/Refresh.js

[exclude]


Thanks
Sven





_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to