change the slider property in arcgis javascript v 10.13.

3079
2
04-24-2015 12:32 PM
AdhimoolamD
New Contributor

Dear All,

I would like to change the zoom slider control property (i.e, reposition the control bit down and change the height)., its working good in version 2.2 but not in 10.13.,

I used the below line of code before create map .

esriConfig.defaults.map.slider = {left:"10px", top:"100px", width : null, height:"150px"};

map = new esri.Map("map", {

     basemap : "topo",

     slider:true,

     zoom:6

let me know what's wrong here?

Tags (1)
Reply
0 Kudos
2 Replies
YousefQuran
Occasional Contributor

Hi Adhimoolam D​,


Check the proprietaries of slider like sliderPosition and sliderStyle, please. I think this will help you.

Regards,

Yusuf Ali

Reply
0 Kudos
AdhimoolamD
New Contributor

Good morning Yusf,

I used this properties, that positioning the default location, but I need to overwrite the default position as I like.

Regards,

Adhi.D

Reply
0 Kudos