<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
function test1() {<br>
<blockquote
cite="mid:CAPGYmuMkrowz_LVtXrmH+HY4EjxchaJ7vS7y1dLNN=hVSkONag@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div><span style="font-family:courier new,monospace">
var bounds = new OpenLayers.Bounds(-3785006.7128486,
2429373.3721214, 3729058.9146514, 8064922.5927464);<br>
var maxExtent = new OpenLayers.Bounds(-180, -90,
180, 90);<br>
var worldBounds = new
OpenLayers.Bounds(-20037508.34, -20037508.34,
20037508.34, 20037508.34);<br>
<br>
if (bounds.intersectsBounds(maxExtent, {inclusive:
false, worldBounds: worldBounds})) {<br>
return "Intersected";<br>
} <br>
<br>
return "Not intersected";<br>
}</span></div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Hmm, I cant see how this would work when you have bounds in
different projections. I always explicitly set projections and
maxExtent in my map options. Can you verify that the OL thinks the
map projection is 900913?<br>
<div>
<div style="border-top: solid 1px black; border-bottom: solid 1px black;
padding: 10px 0; margin: 20px 0; font-size: 8pt;
font-family: Verdana, Arial, Helvetica, sans-serif;">Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.<br></div>
</div>
</body>
</html>