[OpenLayers-Users] Avoiding label collisions
Andreas Hocevar
ahocevar at opengeo.org
Tue Oct 16 15:12:18 PDT 2012
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 <nwiebe at gmail.com> 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
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list