AnsweredAssumed Answered

Zoom control position change to right

Question asked by meenu.monu on Oct 15, 2015
Latest reply on Oct 15, 2015 by processing...

Thank U.

 

How to change the zoom control to Right at button click?

When click language1 button , need zoom control on the left side of the map.

When click language2 button , need zoom control on the right side of the map.

Is it possible to do so???

 

#mapDiv {

    padding: 0;

    margin: 0;

    height: 100%;

    z-index: -1;

    -moz-border-radius: 4px;

    overflow: hidden;

    }

 

 

<div id="mapDiv" runat ="server"dojotype="dijit/layout/ContentPane" region="center" style="border:1px solid #000; visibility: hidden;">

<img id="loadingImg" runat ="server" src="images/rotating globe 1.gif" style="position:absolute; right:512px; top:290px; z-index:100; width: 70px; height: 70px;" />

<div   runat ="server" id="BingDiv" style="position:absolute; right:50px; top:100px; z-Index:99;">

<button id="dropdownButton"  label="Map List"  data-dojo-type="dijit/form/DropDownButton" style="display: none;">

<div data-dojo-type="dijit.Menu" id="bingMenu">

<!--The menu items are dynamically created using the basemap gallery layers-->

</div>

</button>

</div>

</div>

 

Outcomes