<code>
overview_map2 = new OpenLayers.Layer.WMS('Province', "http://"+ wms_hostname
+"/cgi-bin/mapserv?map=" + mapfile_path, {'layers': "Province", 'transparent':
"true", 'format': "image/png"});
overview1 = new OpenLayers.Control.OverviewMap({
maximized: true, layers: [ overview_map2.clone() ],
});
map.addControl(overview1);
</code>
it returns "Uncaught TypeError: Cannot read property 'wrapDateLine' of null" at
Map.js:2333.
If I don't specify layers option everything works great but I must avoid this
because baselayer is too slow.
Someone of us knows this issue ?
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users