Hello,
I would like to resize the esri popup when maxmized to a smaller size. I have not been able to do it using the chrome inspector. Any suggestions?
Brandon
Solved! Go to Solution.
You can do it with the following JavaScript
var popup = map.infoWindow;
on(popup, "maximize", function(){
popup.resize(300,300);
});
You may also be able to get it to work with css but it might be a bit fiddly due to the different sections of the popup (sizer, title etc).
You can do it with the following JavaScript
var popup = map.infoWindow;
on(popup, "maximize", function(){
popup.resize(300,300);
});
You may also be able to get it to work with css but it might be a bit fiddly due to the different sections of the popup (sizer, title etc).
Anyway to do this with css?
Probably but it'll take some playing around with the css this is something that is much simpler with JavaScript.
Thanks. I will try that js way.