<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Changing the map_zoom_slider to the esriSimpleSlider in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359373#M33316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks rmill&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wonderful this looks as if it will do the trick.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found an example of the code in the following code sample. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_resize.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_resize.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This example uses the full javascript library instead of the compact one unlike the other examples using the small sliderstyle. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure how well documented it is. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy Rae&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2012 23:07:52 GMT</pubDate>
    <dc:creator>AndrewRae</dc:creator>
    <dc:date>2012-04-24T23:07:52Z</dc:date>
    <item>
      <title>Changing the map_zoom_slider to the esriSimpleSlider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359370#M33313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe this is a bit of a newbie question but...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to change the default map_zoom_slider to the esriSimpleSlider which is the default in compact javascript library.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to use the standard library as I am uses image services in my application (they do not appear to be supported using the compact JavaScript library). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am hoping t should be easy to do. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy Rae&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 21:34:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359370#M33313</guid>
      <dc:creator>AndrewRae</dc:creator>
      <dc:date>2012-04-23T21:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the map_zoom_slider to the esriSimpleSlider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359371#M33314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This gives you the little up-down little zoom icon instead of the long, ticked slider:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]map = new esri.Map("map",{extent:initExtent, slider: true, sliderStyle: "small"});[/INDENT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 05:27:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359371#M33314</guid>
      <dc:creator>RonMiller</dc:creator>
      <dc:date>2012-04-24T05:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the map_zoom_slider to the esriSimpleSlider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359372#M33315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This gives you the little up-down little zoom icon instead of the long, ticked slider:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;map = new esri.Map("map",{extent:initExtent, slider: true, sliderStyle: "small"});&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's does it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;rmill�?? where did you find info on sliderStyle?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 15:07:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359372#M33315</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-04-24T15:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the map_zoom_slider to the esriSimpleSlider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359373#M33316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks rmill&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wonderful this looks as if it will do the trick.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found an example of the code in the following code sample. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_resize.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_resize.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This example uses the full javascript library instead of the compact one unlike the other examples using the small sliderstyle. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure how well documented it is. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy Rae&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 23:07:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359373#M33316</guid>
      <dc:creator>AndrewRae</dc:creator>
      <dc:date>2012-04-24T23:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the map_zoom_slider to the esriSimpleSlider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359374#M33317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That's does it.&lt;BR /&gt;&lt;BR /&gt;rmill�?? where did you find info on sliderStyle?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just saw the small zoom slider in another JSAPI sample and looked through the code, as Andy did.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, the next question is how to control the location - to move it away from the upper LH corner.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It doesn't seem to respond to the standard slider settings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;esriConfig.defaults.map.slider = { right:"10px", bottom:"10px", width:"200px", height:null };&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 02:30:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359374#M33317</guid>
      <dc:creator>RonMiller</dc:creator>
      <dc:date>2012-04-25T02:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the map_zoom_slider to the esriSimpleSlider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359375#M33318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think the reason you cannot alter the position the normal way is that it is implemented using different classes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When you inspect the element with fire bug you will get the following code with the small slider. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;div id="mapDiv_zoom_slider" class="esriSimpleSlider esriSimpleSliderVertical" style="z-index: 30;"&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Compare this with the first line of the default slider. Which is set up within a table and uses another set of classes&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;table id="map_Div_zoom_slider" class="dijit dijitReset dijitSlider&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You maybe able to alter the location by changing the style for the esriSimpleSlider with css.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My knowledge of css is not crash hot so I maybe wrong. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy Rae&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 20:05:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359375#M33318</guid>
      <dc:creator>AndrewRae</dc:creator>
      <dc:date>2012-04-25T20:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the map_zoom_slider to the esriSimpleSlider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359376#M33319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It doesn't seem to respond to the standard slider settings:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;esriConfig.defaults.map.slider = { right:"10px", bottom:"10px", width:"200px", height:null };&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi! I am wondering why nobody else have these problems with the slider. I also want to change the look but I can not find information about the sliderstyle except these line of code which does not work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Did you solve the problem and what did you do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jörg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 11:21:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359376#M33319</guid>
      <dc:creator>JörgPossin</dc:creator>
      <dc:date>2012-07-18T11:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the map_zoom_slider to the esriSimpleSlider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359377#M33320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I didn't actually try the specific code that rmill65 and Jörg reference. That is, I did not try to replace the entire associative array for the slider in the defaults, but I'll throw a couple of possibilities why it didn't work out there...perhaps because some necessary properties like position and z-index aren't there or the height is set to null it's just ignoring the array as invalid and falling back to its own internal default -OR- the code is trying to change the defaults after instantiating the map. I don't really know. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I do know is that code as below (before instantiating the map), moves the zoom bar's location appropriately:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;esriConfig.defaults.map.slider.top = "50px";
esriConfig.defaults.map.slider.left = "20px";
map = new esri.Map(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "map"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wrapAround180:true
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,extent:initExtent
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps to anyone else looking for the same type of info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jtm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:46:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359377#M33320</guid>
      <dc:creator>JoanneMcGraw</dc:creator>
      <dc:date>2021-12-11T16:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the map_zoom_slider to the esriSimpleSlider</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359378#M33321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is about doing the reverse: how to have the "default" zoom slider using the compact build?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My understanding was that using the compact build one could add missing functionality with additional dojo.require...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any tips?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2012 13:34:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-map-zoom-slider-to-the/m-p/359378#M33321</guid>
      <dc:creator>DuarteCarreira</dc:creator>
      <dc:date>2012-08-24T13:34:04Z</dc:date>
    </item>
  </channel>
</rss>

