[OpenLayers-Users] Re: Duplicate labels display in ArcGIS Server
REST map service when viewing through OpenLayers API
Andreas Hocevar
ahocevar at opengeo.org
Tue Jan 24 09:41:51 EST 2012
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 <chris at windsorsolutions.com> 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
> 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