From c73fa70af64d5a86be1988c2f4dfcaabd07a925c Mon Sep 17 00:00:00 2001 From: wlx Date: Sat, 23 Jan 2016 08:42:19 +0800 Subject: [PATCH] use v3.1.1 ol js from openlayers website --- application/default/views/scripts/data/landuse-compare.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/views/scripts/data/landuse-compare.phtml b/application/default/views/scripts/data/landuse-compare.phtml index 18fee38d..48e269aa 100644 --- a/application/default/views/scripts/data/landuse-compare.phtml +++ b/application/default/views/scripts/data/landuse-compare.phtml @@ -3,7 +3,7 @@ $this->headTitle($this->config->title->site); $this->headTitle('土地利用图'); $this->headTitle()->setSeparator(' - '); $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->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利用图'); ?>