调整注记显示次序

This commit is contained in:
wlx 2015-02-07 04:05:04 +00:00
parent 227d7c2dba
commit 40458f949d
2 changed files with 75 additions and 77 deletions

View File

@ -62,31 +62,6 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
]
}),
new ol.layer.Group({
title: '城市',
layers: [
new ol.layer.Tile({
title: '城市名称',
visible: false,
extent: projectionExtent,
source: new ol.source.WMTS({
url: 'http://t0.tianditu.com/cva_w/wmts',
layer: 'cva',
matrixSet: 'w',
format: 'tiles',
projection: projection,
tileGrid: new ol.tilegrid.WMTS({
origin: ol.extent.getTopLeft(projectionExtent),
resolutions: resolutions,
matrixIds: matrixIds
}),
style: 'default'
})
})
]
}),
new ol.layer.Group({
title: '年份',
layers: [
@ -180,7 +155,31 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
})
})
]
}),
new ol.layer.Group({
title: '城市',
layers: [
new ol.layer.Tile({
title: '城市名称',
visible: false,
extent: projectionExtent,
source: new ol.source.WMTS({
url: 'http://t0.tianditu.com/cva_w/wmts',
layer: 'cva',
matrixSet: 'w',
format: 'tiles',
projection: projection,
tileGrid: new ol.tilegrid.WMTS({
origin: ol.extent.getTopLeft(projectionExtent),
resolutions: resolutions,
matrixIds: matrixIds
}),
style: 'default'
})
})
]
}),
],
target: 'mapl',
@ -223,31 +222,6 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
]
}),
new ol.layer.Group({
title: '城市',
layers: [
new ol.layer.Tile({
title: '城市名称',
visible: false,
extent: projectionExtent,
source: new ol.source.WMTS({
url: 'http://t0.tianditu.com/cva_w/wmts',
layer: 'cva',
matrixSet: 'w',
format: 'tiles',
projection: projection,
tileGrid: new ol.tilegrid.WMTS({
origin: ol.extent.getTopLeft(projectionExtent),
resolutions: resolutions,
matrixIds: matrixIds
}),
style: 'default'
})
})
]
}),
new ol.layer.Group({
title: '年份',
layers: [
@ -340,7 +314,32 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
})
}),
]
}),
new ol.layer.Group({
title: '城市',
layers: [
new ol.layer.Tile({
title: '城市名称',
visible: false,
extent: projectionExtent,
source: new ol.source.WMTS({
url: 'http://t0.tianditu.com/cva_w/wmts',
layer: 'cva',
matrixSet: 'w',
format: 'tiles',
projection: projection,
tileGrid: new ol.tilegrid.WMTS({
origin: ol.extent.getTopLeft(projectionExtent),
resolutions: resolutions,
matrixIds: matrixIds
}),
style: 'default'
})
})
]
}),
],
target: 'mapr',

View File

@ -158,31 +158,6 @@ $this->nav[] = array(
]
}),
new ol.layer.Group({
title: '城市',
layers: [
new ol.layer.Tile({
title: '城市名称',
visible: false,
extent: projectionExtent,
source: new ol.source.WMTS({
attributions: [attribution],
url: 'http://t0.tianditu.com/cva_w/wmts',
layer: 'cva',
matrixSet: 'w',
format: 'tiles',
projection: projection,
tileGrid: new ol.tilegrid.WMTS({
origin: ol.extent.getTopLeft(projectionExtent),
resolutions: resolutions,
matrixIds: matrixIds
}),
style: 'default'
})
})
]
}),
new ol.layer.Group({
title: '年份',
layers: [
@ -291,6 +266,30 @@ $this->nav[] = array(
vectorLayer
]
}),
new ol.layer.Group({
title: '城市',
layers: [
new ol.layer.Tile({
title: '城市名称',
visible: false,
extent: projectionExtent,
source: new ol.source.WMTS({
attributions: [attribution],
url: 'http://t0.tianditu.com/cva_w/wmts',
layer: 'cva',
matrixSet: 'w',
format: 'tiles',
projection: projection,
tileGrid: new ol.tilegrid.WMTS({
origin: ol.extent.getTopLeft(projectionExtent),
resolutions: resolutions,
matrixIds: matrixIds
}),
style: 'default'
})
})
]
}),
],
target: 'map',