Add new maximizeTitle and minimizeTitle options to Control.OverviewMap

This commit is contained in:
Frederic Junod
2012-05-21 08:44:38 +02:00
parent 5c42aa6fce
commit c696b34a84
3 changed files with 40 additions and 1 deletions

View File

@@ -80,7 +80,9 @@
// create an overview map control with the default options
var overview1 = new OpenLayers.Control.OverviewMap({
maximized: true
maximized: true,
maximizeTitle: 'Show the overview map',
minimizeTitle: 'Hide the overview map'
});
map1.addControl(overview1);