[OpenLayers-Dev] change default size of the overview map controller

Val Cartei val.cartei at gmail.com
Wed Dec 5 09:55:17 EST 2007


Why changing the size of the overview map controller doesn't cause the
overviewmap to resize itself?

/* set the new width, height */
var size = {w: newWidth, h:newHeight};
var options = {size: new OpenLayers.Size(size)};
/* add new control to the map*/
map.addControl(new OpenLayers.Control.OverviewMap(options));


-- 
Best Regards,

Valentina Cartei
UK Tel. +44 (0)796 6882820
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20071205/a1307be0/attachment.html


More information about the Dev mailing list