use v3.1.1 ol js from openlayers website

This commit is contained in:
wlx 2016-01-23 08:42:19 +08:00
parent d86cb51026
commit c73fa70af6
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ $this->headTitle($this->config->title->site);
$this->headTitle('土地利用图'); $this->headTitle('土地利用图');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/map.css'); $this->headLink()->appendStylesheet('/css/map.css');
$this->headScript()->appendFile('/js/lib/openlayers/ol.js'); $this->headScript()->appendFile('http://openlayers.org/en/v3.1.1/build/ol.js');
$this->headScript()->appendFile('/js/lib/openlayers/ol-layerswitcher.js'); $this->headScript()->appendFile('/js/lib/openlayers/ol-layerswitcher.js');
$this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利用图'); $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利用图');
?> ?>