AnsweredAssumed Answered

Map Won't Resize to Fill Div

Question asked by cleotokos on Jul 9, 2015
Latest reply on Jul 9, 2015 by cleotokos

I am working on a menu called "rightPanel" that slides left and right. I have a div called "leftPanel" that contains another div called "mapDiv", which contains the map. When rightPanel slides to the right, both leftPanel and mapDiv are stretching to fill the space where rightPanel used to be. However, the map is not updating to fill this space. I've tried using map.refresh(); but this seems not to do anything to my map. Anybody see what's going wrong? jsfiddle

 

(click the lock icon to slide rightPanel left and right)

Outcomes