Hi, This is because OpenLayers requests tiles, and the server doesn't know about neighboring tiles. An easy fix would be to request the content in a single image. To do so, configure your layer with the
singleTile: true option. Andreas. On Fri, Jan 20, 2012 at 12:00 AM, crb <[email protected]> wrote: > I am seeing the same thing today with ArcGIS Server v10 SP1 REST services. > I've tried several different labeling options on the server side ('Remove > duplicate labels', 'Place one label per feature', 'Only place label inside > polygon') but OL still displays several labels per polygon feature. If I > view the same AGS service using the AGS JavaScript API, the labels are > rendered correctly, i.e. one per polygon. > > Has anyone else found a workaround for this? > > Thanks in advance. > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/Duplicate-labels-display-in-ArcGIS-Server-REST-map-service-when-viewing-through-OpenLayers-API-tp4902888p7205708.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > _______________________________________________ > Users mailing list > [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] http://lists.osgeo.org/mailman/listinfo/openlayers-users
