[OpenLayers-Users] Cluster strategy and extract attributes?
Christopher Schmidt
crschmidt at metacarta.com
Thu Dec 11 11:02:23 EST 2008
On Thu, Dec 11, 2008 at 03:44:52PM +0000, Joanne Cook wrote:
> Hi Chris,
>
> Yes, you're absolutely right I should provide some code:
So, the problem is unrelated to extractAttributes, which defaults to
true. Instead, the problem is that you're expecting that clusters have
attributes. Clusters do not have attributes -- because clustered
features may have different properties.
You can take feature.cluster[0].attributes, I suppose, but its not clear
to me what you're expecting here.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list