diff --git a/application/default/views/scripts/heihe/view.phtml b/application/default/views/scripts/heihe/view.phtml index eb34395b..4ed61daf 100755 --- a/application/default/views/scripts/heihe/view.phtml +++ b/application/default/views/scripts/heihe/view.phtml @@ -10,10 +10,7 @@ $this->breadcrumb('数字黑河'); $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='.$this->config->google->maps->api); $this->headScript()->appendFile('/js/prototype.js'); $this->headScript()->appendFile('/js/OpenLayers.js'); $this->headScript()->appendFile('/js/window.js'); @@ -148,8 +145,10 @@ endforeach;