[OpenLayers-Dev] Cluster strategy activation

strk strk at keybit.net
Thu May 20 03:54:50 EDT 2010


Hi there,

I noticed that the Cluster strategy activation does nothing 
clustering only happens when you add features _after_ the control is
activated.

Sound reasonable, but the strategy can't be activated until the layer
is placed on the map, so this makes it impossible to have a workflow like
this:

	1. Create layer with cluster strategy
	2. Add features to layer
	3. Add layer to the map (triggers activation)

Does it make sense for the Cluster.activate to instead perform
the initial clustering when the layer already contains feature ?
	

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the Dev mailing list