Hello,

Thanks for early reply. I checked the examples of clustering markers. 



Cluster strategy threshold is the example what I want. But I am confused with 
use of vector layer. Here Points are used from vector layer class. In my 
example I am using  OpenLayers.Layer.Markers("Markers"). Multiple markers are 
there on map and I want to combine them same as in cluster example. I also want 
to change the color of markers and want to show the count of markers on marker 
icon. 



In clustering example I am getting the number of markers at point, but it is 
when I do mouse over on it. I want the count when I do Zoom In or Zoom out.


Thanks
Hardik Pancholi  _____  

From: Yves [mailto:[email protected]]
To: Hardik Pancholi [mailto:[email protected]], 
[email protected]
Sent: Fri, 16 May 2014 16:54:12 +0000
Subject: Re: [OSM-dev] On Zoom out markers should get combine.

  Whatever lib you use for your map, the word you are looking for is 'cluster', 
like in 'clustering markers'.
  Yves
  


On 16 mai 2014 16:20:23 UTC+02:00, Hardik Pancholi 
<[email protected]> wrote:      Hello,


I am facing one problem while showing multiple markers on map. When there are 
multiple markers at nearest location then it looks really messy. 


I want to show nearest markers as single marker and also want to show the 
number on that single maker, so I can know how many points are there.  This 
should done on basis of zoom level. 


If I do zoom in then number of nearest markers count should decrease. On 
maximum zoom out number of nearest points should increase and it should be 
visible as single marker with count on marker.


Thanks
Hardik Pancholi 



  _____  


dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/dev

  -- 
  Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.  
_______________________________________________
dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/dev

Reply via email to