How to change a Esri Scale Bar's font color

المشرف العام

Administrator
طاقم الإدارة
I'm working on my first ESRI web map project. In the Default.Aspx page the scale bar is initiated as shown below :

dojo.require("esri.dijit.Scalebar"); map.on('load', function () { //resize the map when the browser resizes var scalebar = new esri.dijit.Scalebar({ map: map, scalebarUnit: 'english' }); } Which produces the scale bar as shown below :



How do I change the default grey color for the bar to red?



أكثر...
 
أعلى