AutoResize Map

2851
10
Jump to solution
07-28-2014 06:45 AM
jaykapalczynski
Frequent Contributor

I am a bit puzzled here.  I have to below code for my Map.

If I make the browser about half my screen and refresh everything is fine.

If I set the browser to Max size or manually make the browser window larger, the map does not expand to the full browser size?

I thought the below would take care of that.

Is there something else that I need to add.

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

       center: [-77.4329, 37.5410],

       zoom: 7,

       slider: true,

       showAttribution:true,

       logo: false,

      autoResize: true

    });

0 Kudos
10 Replies
jaykapalczynski
Frequent Contributor

THAT did it.....thanks so much....CHeers....

0 Kudos