1

When using the legend widget (esri JAPI 3.20), not all the layers show up when my map loads. I have to zoom a level first then they all show up. Any fixes?

3
  • Is there any scale range set on your layers? How do you add the widget? Could you show your code?
    – GISGe
    Commented Mar 7, 2017 at 14:35
  • there is a scale range on a few but thats not the ones not showing up.
    – Jay Hill
    Commented Mar 8, 2017 at 14:43
  • var legend = new Legend({ map: map, layerInfos: layers, }, "legendDiv"); legend.startup();
    – Jay Hill
    Commented Mar 8, 2017 at 14:43

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.