<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" size=2><SPAN
class=924193923-09012007>Ok, I think the bottom line is "no overview map with
commercial layers" unless someone sets me straight.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" size=2><SPAN
class=924193923-09012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" size=2><SPAN
class=924193923-09012007>On the examples below, the first one gives me errors
from maps.live.com regardless of whether I add the overview map or not.
(And the space in the MetaCarta URL makes this layer invalid - but that may be
an email formatting issue.)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" size=2><SPAN
class=924193923-09012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" size=2><SPAN
class=924193923-09012007>If I get some time, I'll play with the overview map and
the Google layers - seems like they should work. The VE layer creeps me
out a bit.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" size=2><SPAN
class=924193923-09012007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" size=2><SPAN
class=924193923-09012007>Sorry there's not a better answer.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" size=2><SPAN
class=924193923-09012007>Tim</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" size=2><SPAN
class=924193923-09012007></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"><FONT
face="Trebuchet MS" size=2></FONT><BR>This shows no overviewmap control at
all:<SPAN class=q><BR><BR><html><BR>
<head><BR>
<title>Test</title><BR>
<style
type="text/css"><BR>
#map {
<BR>
width: 512px;
<BR>
height:
512px;<BR>
border: 1px solid
gray;<BR>
}<BR>
</style><BR></SPAN> <script
src="<A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js" target=_blank>
http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js </A>"
type="text/javascript"><
<DIV id=mb_6>/script><BR> <script src="<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.openlayers.org/api/OpenLayers.js" target=_blank>
http://www.openlayers.org/api/OpenLayers.js</A>"></script><SPAN
class=q><BR> </head><BR>
<body><BR> <div
id="map"></div><BR>
<script defer="defer"
type="text/javascript"><BR>
var map = new OpenLayers.Map('map'); <BR></SPAN>
var virtualearth = new
OpenLayers.Layer.VirtualEarth(<BR>
"VirtualEarth");<SPAN
class=q><BR>
var metacarta = new
OpenLayers.Layer.WMS(<BR>
"Metacarta",
<BR>
" <A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://labs.metacarta.com/wms/vmap0"
target=_blank>http://labs.metacarta.com/wms/vmap0</A>",<BR>
{layers:
'basic'});<BR></SPAN>
map.addLayers([virtualearth,metacarta]);<SPAN
class=q><BR>
map.addControl (new
OpenLayers.Control.OverviewMap());<BR>
map.setCenter(new OpenLayers.LonLat(5.69, 50.85),
15);<BR>
</script><BR>
</body><BR></html><BR><BR></SPAN>This creates weird behaviour (1.
overviewmap-control, but no overview-map. 2. mouse keeps dragging): <SPAN
class=q><BR><BR><html><BR>
<head><BR>
<title>Test</title><BR>
<style
type="text/css"><BR>
#map
{<BR>
width:
512px;<BR>
height: 512px;
<BR>
border: 1px solid
gray;<BR>
}<BR>
</style><BR></SPAN> <script
src="<A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js" target=_blank>
http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js </A>"
type="text/javascript"></script><BR> <script
src="<A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.openlayers.org/api/OpenLayers.js"
target=_blank>http://www.openlayers.org/api/OpenLayers.js
</A>"></script><BR> <script src="<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAmbYSvchg-WUKZ1VciMUQehT2yXp_ZAY8_ufC3CFXhHIE1NvwkxTM_U0Wb-HnwWqFxi6YDlhfBryn8w"
target=_blank>
http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAmbYSvchg-WUKZ1VciMUQehT2yXp_ZAY8_ufC3CFXhHIE1NvwkxTM_U0Wb-HnwWqFxi6YDlhfBryn8w
</A>" type="text/javascript"></script><SPAN
class=q><BR> </head><BR>
<body><BR> <div
id="map"></div><BR>
<script defer="defer" type="text/javascript">
<BR> var map
= new OpenLayers.Map('map');<BR></SPAN><SPAN class=q>
var google = new OpenLayers.Layer.Google("Google
Map");<BR> <BR></SPAN><SPAN
class=q> var
metacarta = new
OpenLayers.Layer.WMS(<BR>
"Metacarta",
<BR>
"<A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://labs.metacarta.com/wms/vmap0"
target=_blank>http://labs.metacarta.com/wms/vmap0</A>",<BR>
{layers: 'basic'});
<BR></SPAN>
map.addLayers([google,metacarta]);<SPAN
class=q><BR>
map.addControl(new
OpenLayers.Control.OverviewMap());<BR>
map.setCenter(new OpenLayers.LonLat(5.69, 50.85),
15);<BR>
</script><BR>
</body><BR></html><BR><BR></SPAN>As you can see, the problem is
the baselayer. Whenever it isn't the(/a?) wms layer, the overviewmap control
breaks. Maybe the overviewmapcontrol should default to the metacarta wms
baselayer? <BR><BR>I don't know much about the inside of the ol-api, I am just
using the excellent bricks you provide to build a php/mysql 'application' that
non-technical users can use and configure. Maybe I could do something back by
releasing the php-class when it is finished (if there isn't released one
already)? <BR><SPAN class=sg><BR>Robert,</SPAN></DIV></BLOCKQUOTE></BODY></HTML>