Select to view content in your preferred language

TOC Widget issue: Cant see legend icons on sub layers

2602
14
Jump to solution
04-30-2012 08:40 AM
AYounas
Occasional Contributor
Hi,

I am having an issue here i.e. I cannot see the symbols on 5th level sublayers. Please see the attached image where it says water after layer 3, there should be a symbol as well, which is not there. Any help please?

Regards,

Adi

P.S: Sorry for posting it as seperate thread to get quick response.
[ATTACH=CONFIG]13947[/ATTACH]
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
AYounas
Occasional Contributor
0 Kudos
14 Replies
RobertScheitlin__GISP
MVP Emeritus
Adi,

   I have seen your other post and have added it to a list of possible bugs to look at. I don't have any idea when I will get to this though.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Adi,

   I have tested and here is a image of symbols on layers 6 deep. I am not able to reproduce what you are seeing. What is the layer type that is not displaying?

[ATTACH=CONFIG]13969[/ATTACH]
0 Kudos
AYounas
Occasional Contributor
Hi Robert,

Thanks for your reply.

I am not sure for some weired reason, only this layer got this issue and its of same type as others but data set is point rather than polylines and marker symbols can be seen in service where for polylines only style information mentioned (These are the only differences I have seen uptill now). I have attached the service snapshot and I am not sure which way I should proceed my debugging, as everything else looks alright.

I noticed one more thing i.e. the sublayers under "water" layer called "Target" 's are actually not coming as sub layers where these should come as sub layers so that these will show the associated icons, may be that is the reason?

I'll be looking forward towards your advise please.

Thanks,

Adi[ATTACH=CONFIG]13971[/ATTACH]
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Adi,

   The field "Physical_Limits_2012" is that a numeric field? Why are you using a unique value renderer when you only have on value specified for the renderer (100)?
0 Kudos
AYounas
Occasional Contributor
Robert,

Yes it is a numerical field. I used unique value rendrer because there are more than one unique values in that column and I need the 100 for one sub layer and accordingly for each sub layers (Target).

The last snapshot was of layer "Target" and now here is the snapshot of one level above a group layer "Water" which contains all 4 "Target" sub layers.[ATTACH=CONFIG]13972[/ATTACH]

Any clue?

Adi,

   The field "Physical_Limits_2012" is that a numeric field? Why are you using a unique value renderer when you only have on value specified for the renderer (100)?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Adi,

   I still don't have a good idea as to why the legend is not displaying for those (more testing is needed), but your methodology could use some tweaking. I would not be using the unique value renderer in the way you are (sure it works, but I can make a lot of bad ideas work). Why not use a layer definition to get the layer to only return the values for Physical_Limits_2012 = 100 and then just use a single value renderer? The advantage of this is that only those feature that are equal to 100 will be retrieved when displaying that layer and not all values (but only drawing the one that are 100). You would repeat this for the other 3 layers.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Adi,

   There is something else going on here... I reproduced your problem layer exactly (based on what info you provided) and symbolized and grouped the same way you did, and I can still get legend swatches.
0 Kudos
AYounas
Occasional Contributor
Spot on Robert!

Can you explain for my knowledge why your widget didnt pick the values the other way around?

Thanks again.

Adi

Adi,

   I still don't have a good idea as to why the legend is not displaying for those (more testing is needed), but your methodology could use some tweaking. I would not be using the unique value renderer in the way you are (sure it works, but I can make a lot of bad ideas work). Why not use a layer definition to get the layer to only return the values for Physical_Limits_2012 = 100 and then just use a single value renderer? The advantage of this is that only those feature that are equal to 100 will be retrieved when displaying that layer and not all values (but only drawing the one that are 100). You would repeat this for the other 3 layers.
0 Kudos
AYounas
Occasional Contributor
What you figured out? As per your suggestion I ran a definition query and assing a single symbol and it worked fine and now it displays the symbols. Can you explain what other issue you found, please? There is another issue with Identifying same layer which I am going to ask in separate request.

Thanks,

Adnan

Adi,

   There is something else going on here... I reproduced your problem layer exactly (based on what info you provided) and symbolized and grouped the same way you did, and I can still get legend swatches.
0 Kudos