[OpenLayers-Users] Grouping Features into "one" feature using Styles or other means

Jonathan Sawyer jon at gina.alaska.edu
Tue Oct 6 20:27:21 EDT 2009


Christopher et al,

Clustering works for me :) However, is there a way to turn off clustering
dynamically? I.e., call a function to deactivate it, zoom in or out without
clustering, then turn it back on, all without having to drop and reload
layers?

Thanks again in advance!

Jon

On Mon, Oct 5, 2009 at 10:27 PM, Christopher Schmidt <
crschmidt at metacarta.com> wrote:

> On Mon, Oct 05, 2009 at 04:07:27PM -0800, Jonathan Sawyer wrote:
> > Hi everyone,
> >
> > I have a feature class of points that displays a breadcrumb trail of GPS
> > points for a target. When zoomed out to the full extent of the map,
> > OpenLayers renders 1000+ points in a tiny little area, thus reducing
> > performance of my application. Is there a way I can tell OpenLayers to
> > render just one point for a bunch of points within a given radius of the
> > point? For example, when zoomed out to the full extent, I would rather
> have
> > 1 to 3 points rendered rather than 1000+, but then be able to see every
> > point applicable when zoomed in.
>
> Clustering.
>
> http://openlayers.org/dev/examples/strategy-cluster.html
>
> > Thanks in advance for any help.
> >
> > Jon
>
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
>
>


-- 
Jonathan Sawyer
Geographic Information Network of Alaska (GINA)
University of Alaska Fairbanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091006/622ee14c/attachment.html


More information about the Users mailing list