AnsweredAssumed Answered

Home Button Question

Question asked by cwholmes on Sep 25, 2014
Latest reply on Sep 25, 2014 by timw1984

Good day everyone,

 

I used the following sample to display the home button: Home Button | ArcGIS API for JavaScript

Using the following css code:

#HomeButton {
         position: absolute;
         top: 95px;
         left: 20px;
         z-index: 50;
         }

The button displays here:

HomeButton1.PNG

If I change the css to this:

#HomeButton {
         position: absolute;
         top: 175px;
         left: 260px;
         z-index: 50;
         }

The button displays here:

HomeButton2.PNG

Is there a way in the css that I can tie the home button to the map pane? Just not sure if how I am doing it is the correct way.

 

Thanks,

Chris

Outcomes