betsyjsg

InfoWindow Size

Discussion created by betsyjsg on Mar 29, 2012
Latest reply on Mar 29, 2012 by cwilcomb
I know you can set the infoWindow size using the map.infoWindow.resize(x,y) command.  My question is whether you can dynamically calculate what the size of that window should be based on the content.  I have some information windows that contain a lot of content and therefore need to be very large.  I have other information windows that contain very little content and therefore don't need to be very large.  So programmatically I would like to figure out the size of each information window for each individual point.  Can this be done?

Outcomes