Hi Jon,

On 06/10/09 11:07, 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.

Have you checked out the OpenLayers examples page [1]? Type in the
'Filter by keywords' field the word 'cluster' and you'll see two
examples that do exactly what you are looking for. :-)

[1] http://openlayers.org/dev/examples/

Regards, Roald

--
Roald de Wit
Software Engineer
[email protected]

Commercial Support for Open Source GIS Software
http://lisasoft.com/LISAsoft/SupportedProducts/



The contents of this email are confidential and may be subject to legal or 
professional privilege and copyright. No representation is made that this email 
is free of viruses or other defects. If you have received this communication in 
error, you may not copy or distribute any part of it or otherwise disclose its 
contents to anyone. Please advise the sender of your incorrect receipt of this 
correspondence.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to