Change tile url

This commit is contained in:
wlx 2016-06-23 09:15:33 +08:00
parent 57c41873b5
commit d5218d17d6
2 changed files with 27 additions and 27 deletions

View File

@ -72,7 +72,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2013/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2013/{z}/{x}/{y}.png'
}) })
}), }),
@ -83,7 +83,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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://tile.sanjiangyuan.org.cn/landuse2012/{z}/{x}/{y}.png'
}) })
}), }),
@ -93,7 +93,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2011/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2011/{z}/{x}/{y}.png'
}) })
}), }),
@ -103,7 +103,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2010/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2010/{z}/{x}/{y}.png'
}) })
}), }),
@ -113,7 +113,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2009/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2009/{z}/{x}/{y}.png'
}) })
}), }),
@ -123,7 +123,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2008/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2008/{z}/{x}/{y}.png'
}) })
}), }),
@ -133,7 +133,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2007/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2007/{z}/{x}/{y}.png'
}) })
}), }),
@ -143,7 +143,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2006/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2006/{z}/{x}/{y}.png'
}) })
}), }),
new ol.layer.Tile({ new ol.layer.Tile({
@ -151,7 +151,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2005/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2005/{z}/{x}/{y}.png'
}) })
}) })
] ]
@ -232,7 +232,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2013/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2013/{z}/{x}/{y}.png'
}) })
}), }),
@ -242,7 +242,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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://tile.sanjiangyuan.org.cn/landuse2012/{z}/{x}/{y}.png'
}) })
}), }),
@ -252,7 +252,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2011/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2011/{z}/{x}/{y}.png'
}) })
}), }),
@ -262,7 +262,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2010/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2010/{z}/{x}/{y}.png'
}) })
}), }),
@ -272,7 +272,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2009/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2009/{z}/{x}/{y}.png'
}) })
}), }),
@ -282,7 +282,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2008/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2008/{z}/{x}/{y}.png'
}) })
}), }),
@ -292,7 +292,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2007/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2007/{z}/{x}/{y}.png'
}) })
}), }),
@ -301,7 +301,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2006/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2006/{z}/{x}/{y}.png'
}) })
}), }),
new ol.layer.Tile({ new ol.layer.Tile({
@ -310,7 +310,7 @@ $this->nav[] = array('link'=>"/data/landuse",'title'=>'三江源多期土地利
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/landuse2005/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2005/{z}/{x}/{y}.png'
}) })
}), }),
] ]

View File

@ -157,7 +157,7 @@ $this->nav[] = array(
extent: myextent, extent: myextent,
source: new ol.source.XYZ({ source: new ol.source.XYZ({
extent: mapExtentQH, extent: mapExtentQH,
url: 'http://qherc.sanjiangyuan.org.cn/tile/landuse2013/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2013/{z}/{x}/{y}.png'
}) })
}), }),
@ -168,7 +168,7 @@ $this->nav[] = array(
extent: myextent, extent: myextent,
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://tile.sanjiangyuan.org.cn/landuse2012/{z}/{x}/{y}.png'
}) })
}), }),
@ -179,7 +179,7 @@ $this->nav[] = array(
extent: myextent, extent: myextent,
source: new ol.source.XYZ({ source: new ol.source.XYZ({
extent: mapExtentQH, extent: mapExtentQH,
url: 'http://qherc.sanjiangyuan.org.cn/tile/landuse2011/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2011/{z}/{x}/{y}.png'
}) })
}), }),
@ -190,7 +190,7 @@ $this->nav[] = array(
extent: myextent, extent: myextent,
source: new ol.source.XYZ({ source: new ol.source.XYZ({
extent: mapExtentQH, extent: mapExtentQH,
url: 'http://qherc.sanjiangyuan.org.cn/tile/landuse2010/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2010/{z}/{x}/{y}.png'
}) })
}), }),
@ -201,7 +201,7 @@ $this->nav[] = array(
extent: myextent, extent: myextent,
source: new ol.source.XYZ({ source: new ol.source.XYZ({
extent: mapExtentQH, extent: mapExtentQH,
url: 'http://qherc.sanjiangyuan.org.cn/tile/landuse2009/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2009/{z}/{x}/{y}.png'
}) })
}), }),
@ -212,7 +212,7 @@ $this->nav[] = array(
extent: myextent, extent: myextent,
source: new ol.source.XYZ({ source: new ol.source.XYZ({
extent: mapExtentQH, extent: mapExtentQH,
url: 'http://qherc.sanjiangyuan.org.cn/tile/landuse2008/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2008/{z}/{x}/{y}.png'
}) })
}), }),
@ -223,7 +223,7 @@ $this->nav[] = array(
extent: myextent, extent: myextent,
source: new ol.source.XYZ({ source: new ol.source.XYZ({
extent: mapExtentQH, extent: mapExtentQH,
url: 'http://qherc.sanjiangyuan.org.cn/tile/landuse2007/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2007/{z}/{x}/{y}.png'
}) })
}), }),
@ -233,7 +233,7 @@ $this->nav[] = array(
extent: myextent, extent: myextent,
source: new ol.source.XYZ({ source: new ol.source.XYZ({
extent: mapExtentQH, extent: mapExtentQH,
url: 'http://qherc.sanjiangyuan.org.cn/tile/landuse2006/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2006/{z}/{x}/{y}.png'
}) })
}), }),
new ol.layer.Tile({ new ol.layer.Tile({
@ -243,7 +243,7 @@ $this->nav[] = array(
extent: myextent, extent: myextent,
source: new ol.source.XYZ({ source: new ol.source.XYZ({
extent: mapExtentQH, extent: mapExtentQH,
url: 'http://qherc.sanjiangyuan.org.cn/tile/landuse2005/{z}/{x}/{y}.png' url: 'http://tile.sanjiangyuan.org.cn/landuse2005/{z}/{x}/{y}.png'
}) })
}) })
] ]