Select to view content in your preferred language

Accessing Drawing Info

1326
5
09-06-2012 03:22 AM
PramodHarithsa1
Frequent Contributor
Is there a way to access the drawing info of layers.?
I use a ArcGIS server Version 10.0
[ATTACH=CONFIG]17514[/ATTACH]
I see only these set of properties accessable with layerinfos



[--EDIT--]
From the doc's i see
If the layers are version 10 or lower the legend is created using the ArcGIS.com legend service. In order to use the ArcGIS.com legend service your map service needs to be publicly accessible and your application must be able to access ArcGIS.com.

There is similar dependancy on Drawing Info as well i guess.
(In my case map service is not publicly available)
0 Kudos
5 Replies
__Rich_
Deactivated User
I use a ArcGIS server Version 10.0

Which Service Pack?
0 Kudos
PramodHarithsa1
Frequent Contributor
Which Service Pack?


ArcGIS Server Version: 10.0.0.0
0 Kudos
__Rich_
Deactivated User
Can you apply a service pack:

http://support.esri.com/en/downloads/patches-servicepacks/list?productid=107&productVersions=10&cate...

?

Otherwise, can you get enough information from:

http://<your ags>/rest/services/<your service>/MapServer/<layerId>?f=json

?
0 Kudos
PramodHarithsa1
Frequent Contributor
Can you apply a service pack:

http://support.esri.com/en/downloads/patches-servicepacks/list?productid=107&productVersions=10&cate...

?

Otherwise, can you get enough information from:

http://<your ags>/rest/services/<your service>/MapServer/<layerId>?f=json

?


Not sure of applying service pack..
converting to json surely gives me enough info
Thanks..
Now how do i hit this URL from Jscript?
0 Kudos
__Rich_
Deactivated User
Not sure of applying service pack

Do you administer the server is there another team?  Instructions are provided on the download page.
converting to json surely gives me enough info
Thanks..

You're welcome.
Now how do i hit this URL from Jscript?

I think you should at least make an attempt to work that out for yourself 🙂
0 Kudos