修正IE6 GMAP问题
This commit is contained in:
parent
fc40baf111
commit
53471c1654
|
@ -10,8 +10,8 @@
|
|||
$this->breadcrumb('查看试验元数据');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
//http://westdc.westgis.ac.cn
|
||||
$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key=ABQIAAAACD-MqkkoOm60o_dvwdcKVhRBSKpgcP88GYi6r2Of16IkMX_4YhSBQsywCi4J2_fh4nBuWmK7gyRjLg');
|
||||
//$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key=ABQIAAAACD-MqkkoOm60o_dvwdcKVhThiRESR0xRCe9JKd36EL3glTk0OxTsRzifkUWmTTrYWaE7dY1lYUlGxA');
|
||||
//$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key=ABQIAAAACD-MqkkoOm60o_dvwdcKVhRBSKpgcP88GYi6r2Of16IkMX_4YhSBQsywCi4J2_fh4nBuWmK7gyRjLg');
|
||||
$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key=ABQIAAAACD-MqkkoOm60o_dvwdcKVhThiRESR0xRCe9JKd36EL3glTk0OxTsRzifkUWmTTrYWaE7dY1lYUlGxA');
|
||||
|
||||
$this->headScript()->appendFile('/js/prototype.js');
|
||||
$this->headScript()->appendFile('/js/OpenLayers.js');
|
||||
|
@ -106,16 +106,7 @@ else
|
|||
</div>
|
||||
<hr />
|
||||
<h2>空间位置</h2>
|
||||
<?php
|
||||
$bt=new BrowserDetector();
|
||||
if ($bt->BROWSER=='IE' && $bt->VERSION<7)
|
||||
{
|
||||
echo '建议使用Firefox浏览器或IE7+!<ul><li>经度:'.$md->east.' - '.$md->west.'</li>';
|
||||
echo '<li>纬度:'.$md->north.' - '.$md->south.'</li></ul>';
|
||||
} else {
|
||||
?>
|
||||
<div id='watermap'></div>
|
||||
<?php } ?>
|
||||
<hr />
|
||||
<h2>联系信息</h2>
|
||||
<div id="authors">
|
||||
|
|
Loading…
Reference in New Issue