The api doesn't have docs for the options which can be passed in to
the new layer?
var stores_layer = new OpenLayers.Layer.Vector("Stores", {
strategies: [
new OpenLayers.Strategy.Fixed(),
new OpenLayers.Strategy.Refresh({interval: 60000}),
new OpenLayers.Strategy.Cluster()
],
protocol: new OpenLayers.Protocol.HTTP(
{
url: "/kiosks_status_geoJSON/",
headers: {'Accept':'application/json'},
format: new OpenLayers.Format.GeoJSON()
}
)
});
Where's the docs on the 'strategies', 'protocol', and other options
you can use there?
Many thanks!
Scott
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users