[OpenLayers-Users] Tokens for secure ArcGIS Server layers

David Wright dwright at i3.com
Thu Oct 8 14:17:02 EDT 2009


Hello users,

 

Has anyone found a way to pass the token value associated with secured ESRI
ArcGIS Server Dynamic Map service layer in OpenLayers 2.8?

Its always passed in as a parameter "&token=mytokenvalue."

 

                        var agsDaynamicLayer = new
OpenLayers.Layer.AgsDynamic(

                                                                "i3
Nightlights (Dynamic)",

 
"http://myArcGISServer/ArcGIS/rest/services/myDynamicService/MapServer/Expor
t?",

                                                                {

 
LAYERS: 'show:0',

 
IMAGESR: '900913',

 
BBOXSR: '4326',

 
FORMAT: 'png',

 
TRANSPARENT: true,

                                                                },

                                                                {

 
isBaseLayer: false,

 
singleTile: true

                                                                }

                                                );

 

Many thanks,

 

-Dave

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091008/123fc40e/attachment.html


More information about the Users mailing list