AnsweredAssumed Answered

Adjusting ScaleBar height when creating via JavaScript

Question asked by Nathan.Lindley on Aug 1, 2014

Any ideas on how to accomplish this?  I have seen the VB/C# ways to do it in the codebehind, but we are creating the map with JavaScript on page load.

 

I tried:

 

            var scalebar = new esri.dijit.Scalebar({ map: map, attachTo: "bottom-left", scalebarStyle: "line" });
           

scalebar.Height = 40;

 

but it doesn't seem to effect the size at all.

 

Any comments are greatly appreciated.

 

Thanks and have a good day!

Outcomes