I discovered vector layers after I sent that last email and am now working on
converting my code that was adding individual markers to a marker layer, to
adding features to a vector layer.
Cheers,
Craig
>>> "Heidt, Christopher M." 03/19/09 2:33 AM >>>
are you using a "Marker" layer or a "Vector" layer?
If you are using a "Vector" layer for your "Points" then you can use the
clustering stratgy.
The "Vector" layer can do almost everything the "Marker" layer can to
and more, and is prefered by most people.
The "Marker" layer is sorta the old way of doing things, but still has
some benifits.
In your case I think moving to a "Vector" layer so you can use
clustering is probably the way to go.
________________________________
From: [email protected] [mailto:[email protected]]
On Behalf Of Craig Stanton
Sent: Tuesday, March 17, 2009 4:00 PM
To: Ivan Grcic; [email protected]
Subject: Re: [OpenLayers-Users] Markers that are too close to
distinguish
Ahh clustering. I've been searching for all manner of things related to
the problem but not 'clustering' which is the name of the solution. No
vectors here as far as I can tell. I just mean points. In KML I'd say
placemarks.
Cheers,
Craig
>>> Ivan Grcic <[email protected]> 17/03/2009 9:14 p.m. >>>
Hi,
youre talking about vectors here right? Have you tried cluster strategy?
Cheers
2009/3/17 Craig Stanton <[email protected]>
Hi All,
I'm trying to display a load of points (ranging from 5-2000
depending on user prefs) across New Zealand and many of them end up very
close to another one. So close that you'd have to zoom in well below the
level that the baselayer becomes a blur before being able to tell them
apart. I like the way Google Earth in all it's 3D goodness smoothly
separates coincident markers but I've been searching for a while and
seen no such solution for any web based mapping tool. It seems like
something others would come across too and I'd rather not write
something to recalculate the marks at each zoom, grouping them together
as the user zooms out. Has anyone here dealt with this problem and found
a good solution?
Cheers,
Craig
NIWA is the trading name of the National Institute of Water &
Atmospheric Research Ltd.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users
--
Ivan Grcic
NIWA is the trading name of the National Institute of Water &
Atmospheric Research Ltd.
NIWA is the trading name of the National Institute of Water & Atmospheric
Research Ltd.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users