Hi Nathan, You might want to consider the Cluster Strategy. this strategy is designed to cluster points who are close together. This way you can label the cluster instead of the individual points on higher zoom levels
Cheers Kris Met vriendelijke groet, Kind regards, Kristiaan Geusebroek Consultant [cid:[email protected]][cid:[email protected]] Email: [email protected]<mailto:[email protected]> Tel: +31 (0)35 538 1921 Fax: +31 (0)35 538 1922 Mobiel: +31 (0)6 3069 7223 Utrechtseweg 49 1213 TL Hilversum The Netherlands http://www.xebia.com<http://www.xebia.com/> Xebia Blog: http://blog.xebia.com/ On Oct 17, 2012, at 12:12 AM, Andreas Hocevar <[email protected]<mailto:[email protected]>> wrote: Hey, OpenLayers does not do any label collision management. If you want nice labels, you might want to consider rendering your data on a server (WMS, e.g. GeoServer or MapServer). Andreas. On Tue, Oct 16, 2012 at 9:50 PM, Nathan Wiebe <[email protected]<mailto:[email protected]>> wrote: Hi, I've got a project using OpenLayers that shows units driving around to various locations on a map. These I'm using 5 different OpenLayers.Layer.Vector layers from GeoRSS feeds to display different kinds of units. The base layer of the map is static prerendered tiles. I'm having trouble with the labels for the units and location overlapping making things unreadable. I've tried placing for one type of unit above the marker, and placing labels for other types of units below the marker, but the labels end up overlapping anyway as the units move around. Is there any kind of label collision avoidance I can convince OL to do for me? Any other easy solutions? -- Nathan Wiebe _______________________________________________ Users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/openlayers-users -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/openlayers-users
<<inline: image005.jpg>>
<<inline: image006.png>>
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
