Developers can customize the which elements of the map controls such as the Zoom and Layers palette are visible and open. These can be done when the map is first created or later with the showControl() method.



  • Zoom: show | hide
  • Layers: show | hide
  • Legend: show | hide
  • The script to do this is:

 

Comments are closed.