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: { scale: map.getZoom() },
                format: new OpenLayers.Format.GeoJSON()
        }),
        styleMap: new OpenLayers.StyleMap(style)
});

at the moment, the scale is only calculated once
and is always passed at the initial scale

z

-- 
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to