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

Christopher Schmidt crschmidt at metacarta.com
Tue Oct 6 02:27:20 EDT 2009


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




More information about the Users mailing list