laptop and a wrench


The VisibleScaleRangeSlider widget does not change the layer visibility.

Last Published: December 10, 2015 ArcGIS API for JavaScript
Bug ID Number BUG-000088937
SubmittedJuly 9, 2015
Last ModifiedDecember 1, 2020
Applies toArcGIS API for JavaScript
Version found3.13

Additional Information

Use var visibleScaleRangeSlider = new VisibleScaleRangeSlider({ map: map, maxScale :5000, minScale : 600000 }, "sliderdiv"); or after it's created use visibleScaleRangeSlider.set("maxScale",5000); visibleScaleRangeSlider.set("minScale", 600000); doc is not very clear on this and will be updated to indicate how to use this. Layer will still display, zooming and map scale needs to be wired up by user. VSR slider is used to handle scale values. Wiring still needs to be handled for the map zoom levels.

Steps to Reproduce

Bug ID: BUG-000088937


  • ArcGIS API for JavaScript

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic