Community
All Communities
Products
ArcGIS Pro
ArcGIS Survey123
ArcGIS Online
ArcGIS Enterprise
Data Management
ArcGIS Experience Builder
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Field Maps
ArcGIS Dashboards
ArcGIS StoryMaps
All Products Communities
Industries
Education
Water Resources
State & Local Government
Transportation
Gas and Pipeline
Water Utilities
Imagery and Remote Sensing Insights (IRIS) COP
Roads and Highways
Natural Resources
Telecommunications
Electric
All Industries Communities
Developers
Python
JavaScript Maps SDK
Native Maps SDKs
ArcGIS API for Python
ArcGIS Pro SDK
ArcObjects SDK
Developers - General
ArcGIS REST APIs and Services
ArcGIS Online Developers
Game Engine Maps SDKs
File Geodatabase API
All Developers Communities
Global
Comunidad Esri Colombia - Ecuador - Panamá
ArcGIS 開発者コミュニティ
Czech GIS
Europe
Asia Pacific
Americas
ArcNesia
Comunidad GEOTEC
Esri India
GeoDev Germany
ArcGIS Content - Esri Nederland
All Global Communities
All Communities
Developers
User Groups
Products
Industries
Services
Community Resources
Global
Events
Networks
Learning
ArcGIS Topics
View All Communities
ArcGIS Ideas
GIS Life
Community Resources
Community Help Documents
Community Blog
Community Feedback
Member Introductions
All Community Resources
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Cancel
Home
:
All Communities
:
Developers
:
JavaScript Maps SDK
:
JavaScript Maps SDK Questions
:
TOC sample code - unable to see image/graphics for...
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Select to view content in your preferred language
Translate Now
TOC sample code - unable to see image/graphics for legend
Subscribe
1782
9
10-03-2011 02:03 AM
by
shwetakunjadia
Emerging Contributor
10-03-2011
02:03 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
hi,
I am facing problem with TOC i can see the list of layers but image/graphics is not displayed...
Arcgis 10 - using REST URL
I wont be able to understand if i create any map service in my case legend is not displayed default while in sample code URL :
http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/PublicSafety/PublicSafetyOperationalLayer...
Legend is displayed....
In Arcgis Manager is there any direct way to create legend ???? Or am i missing something while creating .mxd or any other issue??
please help me...
its Urgent
😞
Thanks,
Shweta
Tags
(2)
Tags:
javascript
web_developers
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
9 Replies
by
shwetakunjadia
Emerging Contributor
10-03-2011
02:22 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
i have attached .png file ...
it is from sample code where legend is displayed ...
how can i set in my case???
Thanks,
Shweta
Preview file
24 KB
Reply
0
Kudos
by
JeffPace
MVP Alum
10-03-2011
11:02 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
for html you want
http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/PublicSafety/PublicSafetyOperationalLayer...
for json (to incorporate in project) you want
http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/PublicSafety/PublicSafetyOperationalLayer...
Reply
0
Kudos
by
shwetakunjadia
Emerging Contributor
10-03-2011
05:02 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Thanks for your reply...
but how they created i don't wont from sample code i want to create my own service as i told you i m having license of version 10.
Can you please help me how they created using arcgis manager??
Thanks,
Shweta
Reply
0
Kudos
by
shwetakunjadia
Emerging Contributor
10-03-2011
05:04 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
currently i have created map service with KML and feature support layer but i can only see the list of layers using TOC i wont be able to see graphics/image related legend.....
Please help me......
Reply
0
Kudos
by
SanajyJadhav
Deactivated User
10-03-2011
08:04 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
I think you have to install SP1 for all ArcGIS 10 products,then only you would get legends.
Go through
http://forums.arcgis.com/threads/20806-Legend-not-load-API-2.1.?highlight=legend+sp1
this post.
Hope this helps.
Reply
0
Kudos
by
shwetakunjadia
Emerging Contributor
10-03-2011
10:00 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Thanks Sanjay for your reply ...
But its only applicable if the current version must be 10.01 mine is 10
😞
still i have tried with post install option but its not working..
Thanks,
Shweta
Reply
0
Kudos
by
SanajyJadhav
Deactivated User
10-04-2011
12:13 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
As per my knowledge, to get legends you have to have version 10 and SP1.It seems that you have version 10
without
SP1.
Can you try installing SP1?
Reply
0
Kudos
by
shwetakunjadia
Emerging Contributor
10-04-2011
07:38 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Hey Thanks Sanjay .....
Finally i got after installing Arcgis server 10 SP1 .......
Thank you once again...........
Regards,
Shweta
Reply
0
Kudos
by
SanajyJadhav
Deactivated User
10-04-2011
08:27 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
No worries.
Glad it helped. Cheers.
-
sanjay.
Reply
0
Kudos
Post Reply