添加2013年

This commit is contained in:
Cui Xin 2015-02-05 03:49:08 +00:00
parent fbcca59ec1
commit 227d7c2dba
1 changed files with 22 additions and 1 deletions

View File

@ -90,6 +90,17 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
new ol.layer.Group({ new ol.layer.Group({
title: '年份', title: '年份',
layers: [ layers: [
new ol.layer.Tile({
title: '2013年',
visible: false,
opacity: 0.6,
source: new ol.source.XYZ({
extent: mapExtentQH,
url: 'http://qherc.sanjiangyuan.org.cn/tile/landuse2013/{z}/{x}/{y}.png'
})
}),
new ol.layer.Tile({ new ol.layer.Tile({
title: '2012年', title: '2012年',
visible: false, visible: false,
@ -240,13 +251,23 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
new ol.layer.Group({ new ol.layer.Group({
title: '年份', title: '年份',
layers: [ layers: [
new ol.layer.Tile({
title: '2013年',
visible: false,
opacity: 0.6,
source: new ol.source.XYZ({
extent: mapExtentQH,
url: 'http://qherc.sanjiangyuan.org.cn/tile/landuse2013/{z}/{x}/{y}.png'
})
}),
new ol.layer.Tile({ new ol.layer.Tile({
title: '2012年', title: '2012年',
visible: false, visible: false,
opacity: 0.6, opacity: 0.6,
source: new ol.source.XYZ({ source: new ol.source.XYZ({
extent: mapExtentQH, extent: mapExtentQH,
url: 'http://qherc.sanjiangyuan.org.cn/tile/landuse2012/{z}/{x}/{y}.png' url: 'http://qherc.sanjiangyuan.org.cn/tile/landuse2012/{z}/{x}/{y}.png'
}) })
}), }),