<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
p.section1, li.section1, div.section1
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Greetings, <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I’m trying to use MetaCarta GTS collections on Virtual
Earth maps. With the hosted OpenLayers.js, I get a script error in IE7 when
panning after I zoom all the way out. I also get the error when initializing
the map to global scale using a “1” like this: </span></font><font
size=2 face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console"'>mccontrol.map.setCenter(new
OpenLayers.LonLat(-95,38), 1);</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Here’s the error:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Line 51; Char 37; Invalid Argument; Code 0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Heres the URL: <a href="http://www.metalens.org/mcve/">http://www.metalens.org/mcve/</a><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks for any insight you can share.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Here’s the page code:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><html><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><head><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><meta
http-equiv="Content-Type" content="text/html;
charset=windows-1252"/><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><script
type="text/javascript"
src='http://216.17.239.67/developers/tools?version=1.0.0&file=GeoSearch.js'></script><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><script
type="text/javascript"
src="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><!--<script
type="text/javascript"
src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1"></script>--><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><!--<script
type="text/javascript" src="http://www.openlayers.org/api/OpenLayers.js"></script>--><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><script defer="defer"
type="text/javascript"><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><!--<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>function metacarta_init(){<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'> mccontrol =
MetaCarta.GeoSearch.Init({'applianceHost': 'gts.metalens.org', 'textDivId':
'list', 'mapDivId': 'map',<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>
'searchParams': [''] });<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'> // add new layers<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'> var ve = new
OpenLayers.Layer.VirtualEarth("ve", {'minZoomLevel': 2,
'maxZoomLevel': 10, 'wrapDateLine': true, 'displayOutsideMaxExtent': true});<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'> // add a LayerSwitcher<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>
//mccontrol.map.addControl(new OpenLayers.Control.LayerSwitcher());<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>
//mccontrol.map.removeControl(LayerSwitcher)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'> //add layers<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>
mccontrol.map.addLayers([ve]);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>
mccontrol.map.setBaseLayer(ve);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>
mccontrol.map.setCenter(new OpenLayers.LonLat(-95,38), 2);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>
//mccontrol.map.zoomToMaxZoomLevel(5);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'> }<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>--><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'></script><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><title>NGS Collections</title><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'></head><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><body
onload="metacarta_init()";><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><div id='map' style='width:75%;
height:100%; float:right;'></div><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><div id='list' style='width:25%;
height:100%;'></div><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'></body><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'></html><o:p></o:p></span></font></p>
<p class=section1><st1:PersonName w:st="on"><font size=1 color=gray
face=Tahoma><span style='font-size:9.0pt;font-family:Tahoma;color:gray'>David
Wright</span></font></st1:PersonName><font size=1 color=gray face=Tahoma><span
style='font-size:9.0pt;font-family:Tahoma;color:gray'> | National Geographic
Maps<br>
<st1:Street w:st="on"><st1:address w:st="on">210 Beaver Brook Canyon Road</st1:address></st1:Street>
| <st1:place w:st="on"><st1:City w:st="on">Evergreen</st1:City>, <st1:State
w:st="on">CO</st1:State> <st1:PostalCode w:st="on">80439</st1:PostalCode></st1:place><br>
303.327.3108 off | 720.210.7045 mob | 303.670.2647 fax <br>
<a href="mailto:dwright@ngs.org">dwright@ngs.org</a></span></font><o:p></o:p></p>
<p class=section1><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font><font size=1 color=gray face=Tahoma><span
style='font-size:9.0pt;font-family:Tahoma;color:gray'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>