[OpenLayers-Dev] ClusterMaker ala GoogleMaps API

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Tue Feb 15 07:48:18 EST 2011


On Feb 15, 2011, at 6:46 AM, ext shitake83 wrote:

> 
> Hi Folks, 
> 
> im currently dealing with a major issue that i dont have any clue solving.
> 
> i have a map where about 20 Markers are displayed in the same spot. ive
> looked around the internet to try and find something similar to the
> ClusterMarker that the GoogleMaps API provides, but havent been able to find
> a way to do this in openlayers or find a helping hand for this problem.

Vector Layers have a 'Cluster' strategy, which will group nearby points into
a cluster based on screen-distance between them. 

http://openlayers.org/dev/examples/strategy-cluster.html

> It would be nice if someone could help.
> 
> Thx.
> 
> Source:
> http://googlemapsapi.martinpearman.co.uk/readarticle.php?article_id=1
> 
> 
> P.S.: ive read that the marker format is deprecated and that i should use
> vector layers with points as markers, do i get this right ??

Yes.

> -- 
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/ClusterMaker-ala-GoogleMaps-API-tp6027143p6027143.html
> Sent from the OpenLayers Dev mailing list archive at Nabble.com.
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev



More information about the Dev mailing list