Re: [OpenLayers-Users] BBOX strategy with scale

2009-01-09 Thread Zac Spitzer
thank's eric, i got it working now... I ended up adding poi.events.on({"featureadded":filterPoiFeature}) as well is it possible to link this to OpenLayers.Layer.Grid somehow? z On Sat, Jan 10, 2009 at 4:55 AM, Eric Lemoine wrote: > Hi > > You can write a custom strategy that register a zoome

Re: [OpenLayers-Users] BBOX strategy with scale

2009-01-09 Thread Eric Lemoine
Hi You can write a custom strategy that register a zoomend listener on the map and have this listener change the protocol params. Go back to the list if you need more detail. Cheers, Eric 2009/1/8, Zac Spitzer : > Is there a way to pass the current scale within this request? > > poi_layer = new

[OpenLayers-Users] BBOX strategy with scale

2009-01-07 Thread Zac Spitzer
Is there a way to pass the current scale within this request? poi_layer = new OpenLayers.Layer.Vector("POI", { strategies: [new OpenLayers.Strategy.BBOX()], protocol: new OpenLayers.Protocol.HTTP({ url: "/explore/poi_json.cfm", params: { scal