AnsweredAssumed Answered

Map Height and Width is fixed to 400px when ESRI API is used with EXT Js

Question asked by mandy@1990 on Sep 29, 2015
Latest reply on Oct 7, 2015 by mandy@1990

Hi Team,


I have integrated esri with extjs-4.2. I am getting the map element in the proper size for the first time when the screen loads.However i am not getting the map element in the proper size when trying to reload the map element alone. The map element is getting reset to 400*400 automatically, which am not able to change. Please find below supportive screenshots with following code.


Here the piece of code intiating the Map in Extjs.



Screen Shots



First time Loading properly as below:

Second time it is getting shrink:




Dom For the First time and Second Time where it is changing automatically:


First Time

Second Time



Note: Convert the attachement to text ,Replace your bing key