xy-map 1.0.57 → 1.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +1 -1
- package/src/map.js +2 -2
- package/vue.config.js +2 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
package/src/map.js
CHANGED
|
@@ -24,8 +24,8 @@ var defaultOptions = {
|
|
|
24
24
|
'nav': {
|
|
25
25
|
'type': 'raster',
|
|
26
26
|
'tiles': [
|
|
27
|
-
|
|
28
|
-
'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
|
|
27
|
+
'https://api.mapbox.com/v4/mapbox.satellite/{z}/{x}/{y}.jpg?access_token=pk.eyJ1IjoiaGo0NjI3NzEzOTYiLCJhIjoiY2w5YzNjOTZvMDF6NDNwb2d6YmJkYWRpMCJ9.-fW-OChGB1oY2DCMO_c8sg',
|
|
28
|
+
// 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
|
|
29
29
|
// 'https://map.ynmdgq.com/{z}/{x}/{y}.png'
|
|
30
30
|
],
|
|
31
31
|
'tileSize': 256
|
package/vue.config.js
CHANGED
|
@@ -17,7 +17,8 @@ module.exports = defineConfig({
|
|
|
17
17
|
// proxyon为代理前缀,如果请求中包含该前缀,就走代理
|
|
18
18
|
'/api': {
|
|
19
19
|
// 真实的后端服务器地址
|
|
20
|
-
target: '
|
|
20
|
+
target: 'http://39.129.112.151:9091/api',
|
|
21
|
+
// target: 'https://www.ynmdgq.com/api',
|
|
21
22
|
ws: true,
|
|
22
23
|
// 控制请求头中的host
|
|
23
24
|
changeOrigin: true,
|