[OpenLayers-Users] Re: Duplicate labels display in ArcGIS Server REST map service when viewing through OpenLayers API

crb chris at windsorsolutions.com
Mon Feb 20 18:16:15 EST 2012


Thanks Andreas.  Much appreciated, as always.

I tried using 'singleTile: true' but it's still returning duplicate labels. 
Don't think it matters, but I'm using an ArcGIS93Rest OL layer w/ ArcGIS
server v10.  My OL layer is configured thus:

var ml = new OpenLayers.Layer.ArcGIS93Rest(
                        name,
                        url,
                        {
                            // params
                            'layers': 'show:0',
                            'singleTile': true,
                            'srs': map.projection,  // EPSG:102113
                            'transparent': true
                        },
                        {
                            // options
                            'alwaysInRange': true,
                            'displayInLayerSwitcher': true,
                            'isBaseLayer': false,
                            'isSelectable': false,  // custom property
                            'opacity': 0.5,
                            'visibility': false
                        }
                    );

The request that it is making to AGS has the SINGLETILE parameter in it:

http://myAgsServer/ArcGIS/rest/services/myService/MapServer/export&LAYERS=show%3A0&*SINGLETILE=true*&SRS=EPSG%3A102113&TRANSPARENT=true&FORMAT=png&BBOX=-11603752.382735%2C4676723.1258%2C-11564616.624259%2C4715858.884277&SIZE=256%2C256&F=image&BBOXSR=102113&IMAGESR=102113


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Duplicate-labels-display-in-ArcGIS-Server-REST-map-service-when-viewing-through-OpenLayers-API-tp3910724p4489370.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list