Duplicate labels display in ArcGIS Server REST map service when viewing through OpenLayers API
I've created a very simple ArcGIS Server dynamic map REST service for a
single polygon layer with about 10 features. When I view the service in my
OpenLayers demo app, the labels are duplicating -- that is, I'm seeing about 5 labels per feature. Not sure why. Does anyone have an idea how to prevent this label duplication? I only want one label per
feature to display.
You could make the features larger by changing the 'strokeWidth'
property of your features.
Phil Scadden wrote:
> I am finding that you need incredibly accurate clicking to selectfeature
> (especially when geometry is a line). Is there away of expanding the hitbox?
> Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
> Users mailing list
> [hidden email] > http://openlayers.org/mailman/listinfo/users >
Re: Duplicate labels display in ArcGIS Server REST map service when viewing through OpenLayers API
Probably because the map size was too big. Make sure the maximum map
size is big enough in your MapServer map file. You may also want to
configure the ratio option and set it to 1, instead of the 1.5 default
- this will result in a smaller map size being requested from the