I working on map.infoWindow.resize(x,y) to resize my map popups based on the type and amount of content. This has begged the question:
What is the default size of a map popup and how do I obtain this value?
TIA
By default, the content area for an info window is 250 pixels wide and 100 pixels high. If you have the required modules and objects to call InfoWindow Popup, the default size will be displayed. Or Use
map.infoWindow.resize(250, 100);
Dirk,
There are undocumented properties to get that info.
map.infoWindow._positioner.offsetHeight;
map.infoWindow._positioner.offsetWidth;