[OpenLayers-Users] programmatically control overviewmap control

Robert Buckley robertdbuckley at yahoo.com
Thu Feb 23 06:08:50 EST 2012


Hi,

I´m trying to control the overviewmap control. I want to create a button in a toolbar which toggles the display...


   var OvmapOn = function () {

   //map.controls.overviewmapcontrol().show();
        };     
 

This code obviously doesn´t work...has anyone managed to do this?`


Thanks for any tips,

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120223/a0e5a305/attachment.html


More information about the Users mailing list