Layer List Widget layer visibility issue.

2774
4
Jump to solution
09-01-2015 03:36 AM
BledarBirbo1
Occasional Contributor

Hi.

We have a lot of layers on the map that needs to be visible only at specific scales.

The default Layer List widget doesn't seem to implement or handle this in any way and the problem is that user checks a layer and he doesn't know why its not showing on the map.

I consider this a major issue.

Thanks.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Bledar,

   I have provided code to add scale dependence to the Layer List widget in this thead:

layers out of range greyed out

View solution in original post

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Bledar,

   I have provided code to add scale dependence to the Layer List widget in this thead:

layers out of range greyed out

0 Kudos
BledarBirbo1
Occasional Contributor

Hi Robert.

Thanks for your quick reply.

I will have a look at the modified js file and apply the changes.

Although ESRI is the one that should have taken care of this issue.

Many thanks.

0 Kudos
BledarBirbo1
Occasional Contributor

Hi Robert.

​Many thanks for your modified layer widget.

I just wanted to ask you if you ever run into this issue that i am experiencing.

​When i add the "'jimu/dijit/Message' to the Search/widget.js

This also happens with other esri widgets

The widget breaks and it does not show at all.

Any help would be useful.

Thanks.

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Bledar,

   I have not tried to add the message dijit to the search widget but I have added it to many of my custom widget without issue.

0 Kudos