<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<style>BODY{font:10pt Tahoma, Verdana, sans-serif}</style></head><body>
<font size="2">Hello,</font><div style="font-family: Tahoma, Verdana, sans-serif; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"><br></div><div><font size="2">Thanks for early reply. I checked the examples of clustering markers. </font><h1 id="title" style="font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif; font-size: 17px; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; margin: 0px 0px 0.5em; padding: 0.5em 0px 0px; border-width: 0px 0px 1px; border-bottom-style: solid; border-bottom-color: rgb(252, 177, 0); vertical-align: baseline; color: rgb(0, 58, 107);"><span style="font-family: Tahoma, Verdana, sans-serif; font-size: 10pt;"><br></span></h1><h1 id="title" style="margin: 0px 0px 0.5em; padding: 0.5em 0px 0px; border-width: 0px 0px 1px; border-bottom-style: solid; border-bottom-color: rgb(252, 177, 0); vertical-align: baseline;"><span style="color: rgb(0, 58, 107); font-family: Tahoma, Verdana, sans-serif; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;">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 </span><font color="#003a6b" size="2"><span style="font-weight: normal;"> 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. </span></font></h1><div><font color="#003a6b" size="2"><span style="font-weight: normal;"><br></span></font></div><div><font color="#003a6b" size="2"><span style="font-weight: normal;">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.</span></font></div><div><font color="#003a6b" size="2"><span style="font-weight: normal;"><br></span></font></div><div><font color="#003a6b" size="2">Thanks</font></div><div><font color="#003a6b" size="2">Hardik Pancholi</font></div><blockquote style="font-family: Tahoma, Verdana, sans-serif; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; padding-left: 5px; margin-left: 5px; border-left-color: rgb(0, 0, 255); border-left-width: 2px; border-left-style: solid; margin-right: 0px;"><hr><b>From:</b> Yves [mailto:yvecai@gmail.com]<br><b>To:</b> Hardik Pancholi [mailto:hardik.pancholi@gatewaytechnolabs.com], dev@openstreetmap.org<br><b>Sent:</b> Fri, 16 May 2014 16:54:12 +0000<br><b>Subject:</b> Re: [OSM-dev] On Zoom out markers should get combine.<br><br>
Whatever lib you use for your map, the word you are looking for is 'cluster', like in 'clustering markers'.<br>
Yves<br>
<br><br><div class="gmail_quote">On 16 mai 2014 16:20:23 UTC+02:00, Hardik Pancholi <<a href="mailto:hardik.pancholi@gatewaytechnolabs.com">hardik.pancholi@gatewaytechnolabs.com</a>> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<span style="background-color: rgb(255, 255, 255);">Hello,</span><div style="background-color: rgb(255, 255, 255);"><br></div><div style="background-color: rgb(255, 255, 255);">I am facing one problem while showing multiple markers on map. When there are multiple markers at nearest location then it looks really messy. </div><div style="background-color: rgb(255, 255, 255);"><br></div><div style="background-color: rgb(255, 255, 255);">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. </div><div style="background-color: rgb(255, 255, 255);"><br></div><div style="background-color: rgb(255, 255, 255);">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.</div><div style="background-color:
rgb(255, 255, 255);"><br></div><div style="background-color: rgb(255, 255, 255);">Thanks</div><div style="background-color: rgb(255, 255, 255);">Hardik Pancholi </div><p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr><br>dev mailing list<br><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br><a href="https://lists.openstreetmap.org/listinfo/dev">https://lists.openstreetmap.org/listinfo/dev</a><br></pre></blockquote></div><br>
-- <br>
Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.</blockquote><style>
BODY {font:10pt Tahoma,Verdana,sans-serif}
</style>
</div></body></html>