[OpenLayers-Users] How Distinguish when Markers are in same coordinates.

Puneet Kishor punk.kish at gmail.com
Sun Mar 25 23:27:09 EDT 2012


On Mar 25, 2012, at 10:19 PM, Emmanuel Lopez <emmanuel.lopez at tierconnect.com> wrote:

> Greetings,
> I  have 3 points that have same LonLat , the points have markers icons with diffent colors (red,blue, green) but only the one at the top is shown (e.g  markers are plot in the following order :red , blue, green only green shows up)
>  
> How can I make openlayers to show the 3 points?


Make their coords different by adding a random jitter to each based on the map view scale so the markers are drawn at least enough apart to resolve separately.


>  
>  I was thinking to use strategy.cluster but it would be same issue since the coordinates are the same  wouldn’t it?
> Any help will be highly appreciated.
>  
> Thanks in advance
>  
> Emmanuel
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120325/88484c11/attachment.html


More information about the Users mailing list