[OpenLayers-Users] Labeling clustered features

Christopher Schmidt crschmidt at metacarta.com
Fri Sep 4 07:32:14 EDT 2009


On Fri, Sep 04, 2009 at 05:23:42AM -0500, Florian Diederichs wrote:
> 
> Hi all,
> 
> i've encountered a problem, trying to label my clusters. The label just says
> "undefined" with my clustered layer, but works fine with my regular vector
> layers. 
> 
> I labeled them the way it is show in the example
> http://openlayers.org/dev/examples/vector-features-with-text.html 
> 
> Any advice is welcome

What are you expecting? Labelling clusters with property-based labels
won't work because clusters don't have any properties/attributes other
than those added by clustering.

-- Chris 

> 
> Thanks 
> Florian
> -- 
> View this message in context: http://n2.nabble.com/Labeling-clustered-features-tp3579005p3579005.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list