a8656e66 by unknown

20191228

1 parent 7d311c49
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: jiangbotao 2 * @Author: jiangbotao
3 * @Date: 2019-12-09 23:17:48 3 * @Date: 2019-12-09 23:17:48
4 * @LastEditors : jiangbotao 4 * @LastEditors : jiangbotao
5 * @LastEditTime : 2019-12-28 15:40:52 5 * @LastEditTime : 2019-12-28 16:27:15
6 * @FilePath: \mymapbox\src\components\Map3857.vue 6 * @FilePath: \mymapbox\src\components\Map3857.vue
7 --> 7 -->
8 <template> 8 <template>
...@@ -34,6 +34,11 @@ export default { ...@@ -34,6 +34,11 @@ export default {
34 style: { 34 style: {
35 "version": 8, 35 "version": 8,
36 "sources": { 36 "sources": {
37 "backmap": {
38 "type": "raster",
39 "tiles": ["https://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetPurplishBlue/MapServer/tile/{z}/{y}/{x}"],
40 "tileSize": 256
41 },
37 "raster-tiles": { 42 "raster-tiles": {
38 "attribution": '展示栅格瓦片和各种Mapbox控件', 43 "attribution": '展示栅格瓦片和各种Mapbox控件',
39 "type": "raster", 44 "type": "raster",
...@@ -49,6 +54,12 @@ export default { ...@@ -49,6 +54,12 @@ export default {
49 type: 'background', 54 type: 'background',
50 paint: { 'background-color': "#000000" } 55 paint: { 'background-color': "#000000" }
51 },{ 56 },{
57 "id": "backmaplayer",
58 "type": "raster",
59 "source": "backmap",
60 "minzoom": 0,
61 "maxzoom": 22
62 },{
52 "id": "simple-tiles", 63 "id": "simple-tiles",
53 "type": "raster", 64 "type": "raster",
54 "source": "raster-tiles", 65 "source": "raster-tiles",
......
1 <!-- 1 <!--
2 * @Author: jiangbotao 2 * @Author: jiangbotao
3 * @Date: 2019-12-18 01:40:38 3 * @Date: 2019-12-18 01:40:38
4 * @LastEditors: jiangbotao 4 * @LastEditors : jiangbotao
5 * @LastEditTime: 2019-12-19 00:13:46 5 * @LastEditTime : 2019-12-28 16:26:24
6 * @FilePath: \supermapvue\client\src\components\layers\Map_ags.vue 6 * @FilePath: \supermapvue\client\src\components\layers\Map_ags.vue
7 --> 7 -->
8 <template> 8 <template>
......