[OpenLayers-Users] Cluster strategy and extract attributes?
GordonHo
llian at gmx.net
Fri Dec 12 13:28:35 EST 2008
hi joanne,
i've implemented pretty much what you're trying to do.
following functions i had to overwrite:
OpenLayers.Format.Text.prototype.read = function (text)
adding a 'count' and 'id' field
OpenLayers.Strategy.Cluster.prototype.createCluster = function(feature) {
adding the 'count' and 'id' field
OpenLayers.Strategy.Cluster.prototype.addToCluster = function(cluster,
feature) {
suming up 'count' and 'id' field
the select stuff was a different story, got an hoover effect which tells the
count, and a click effect which loads ajax data about the id's
cheers, gordon
--
View this message in context: http://n2.nabble.com/Cluster-strategy-and-extract-attributes--tp1643566p1649046.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list