yeah, the virtualearth-thing is broken:<br><br><a href="http://openlayers.org/dev/examples/ve.html">http://openlayers.org/dev/examples/ve.html</a><br><br>strange. the url is still valid (<a href="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js">
http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js</a>) but points to a script that returns an error:<br><br><a href="http://maps.live.com/veapi.ashx?v=1.3.0908172755.52">http://maps.live.com/veapi.ashx?v=1.3.0908172755.52
</a><br><br>Robert.<br><br><div><span class="gmail_quote">On 1/10/07, <b class="gmail_sendername">Tim Schaub</b> <<a href="mailto:noreply@geocartic.com">noreply@geocartic.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font face="Trebuchet MS" size="2">Ok, one thing at a time:</font></span></div>
<div dir="ltr" align="left"><span><font face="Trebuchet MS" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Trebuchet MS" size="2">In your code below, there is a space before the URL in the metacarta
layer - with the space, this layer does not have a valid URL. I realize
this could be an email formatting thing. Your virtualearth script tag also
has a space at the end of the URL - though this doesn't appear to be a
problem.</font></span></div>
<div dir="ltr" align="left"><span><font face="Trebuchet MS" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Trebuchet MS" size="2">Also, if I correct this and remove the add overview control line, I still
get an error thrown in a script by <a href="http://maps.live.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">maps.live.com</a>. Because this error is
not handled, the overview control cannot be added. I don't use the VE
layer, so I can't help debug that right now. I notice that the problem
also shows up in the ve.html example when I try to construct the ve layer
without the options argument.</font></span></div>
<div dir="ltr" align="left"><span><font face="Trebuchet MS" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Trebuchet MS" size="2">Anyway, I see there are issues using the overview map with the VE
layer. I'll look at that more later.</font></span></div>
<div dir="ltr" align="left"><span><font face="Trebuchet MS" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Trebuchet MS" size="2">Now on to the second example...</font></span></div><span class="sg">
<div dir="ltr" align="left"><span><font face="Trebuchet MS" size="2">Tim</font></span></div></span><div><span class="e" id="q_11009350f83a4143_2"><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; margin-left: 5px; margin-right: 0px;">This
shows no overviewmap control at all:<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> <script
src="<a href="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js
</a>" type="text/javascript"></script><br>
<script src="<a href="http://www.openlayers.org/api/OpenLayers.js" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.openlayers.org/api/OpenLayers.js</a>"></script>
<br>
</head><br>
<body><br> <div
id="map"></div><br>
<script defer="defer"
type="text/javascript"><br>
var map = new OpenLayers.Map('map'); <br>
var virtualearth = new OpenLayers.Layer.VirtualEarth(<br>
"VirtualEarth");<br>
var metacarta = new
OpenLayers.Layer.WMS(<br>
"Metacarta",<br>
" <a href="http://labs.metacarta.com/wms/vmap0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://labs.metacarta.com/wms/vmap0</a>",<br>
{layers:
'basic'});<br>
map.addLayers([virtualearth,metacarta]);<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></blockquote></span></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Robert Buzink, website ontwerp en ontwikkeling<br>Sint-Pietersaalststraat 123<br>9000 Gent<br>+32 (0)9 33 00 267<br>+32 (0)487 548 414<br><a href="mailto:post@robertbuzink.nl">
post@robertbuzink.nl</a><br><a href="http://robertbuzink.nl/webdesign">robertbuzink.nl/webdesign</a>