|
|
|
|
@ -675,15 +675,23 @@ export default { |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
coverMap(){ |
|
|
|
|
const imageLayer = new AMap.ImageLayer({ |
|
|
|
|
url: covers, |
|
|
|
|
bounds: new AMap.Bounds( |
|
|
|
|
[115.707797, 37.824846], |
|
|
|
|
[115.71447, 37.834998] |
|
|
|
|
), |
|
|
|
|
zooms: [10, 20] |
|
|
|
|
// const imageLayer = new AMap.ImageLayer({ |
|
|
|
|
// url: covers, |
|
|
|
|
// bounds: new AMap.Bounds( |
|
|
|
|
// [115.707797, 37.824846], |
|
|
|
|
// [115.71447, 37.834998] |
|
|
|
|
// ), |
|
|
|
|
// zooms: [10, 20] |
|
|
|
|
// }); |
|
|
|
|
const tilerLayer = new AMap.TileLayer({ |
|
|
|
|
zIndex:10, |
|
|
|
|
// getTileUrl:'tiles/[z]/tile-[x]_[y].png', |
|
|
|
|
getTileUrl: function(x,y,z){ |
|
|
|
|
console.log('https://www.lbgjtoa.com/appImg/tiles/' + z + '/tile-' + x +'_' + y + '.png') |
|
|
|
|
return 'https://www.lbgjtoa.com/appImg/tiles/' + z + '/' + x +'_' + y + '.png' |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
imageLayer.setMap(this.map) |
|
|
|
|
tilerLayer.setMap(this.map) |
|
|
|
|
}, |
|
|
|
|
getNavPrev() { |
|
|
|
|
if (this.navPage > 0) { |
|
|
|
|
|