|
|
@ -49,7 +49,8 @@ export const DEFAULT_MARKERS = [] |
|
|
|
|
|
|
|
|
// 地图默认配置
|
|
|
// 地图默认配置
|
|
|
export const MAP_DEFAULTS = { |
|
|
export const MAP_DEFAULTS = { |
|
|
tileUrl: 'https://webrd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=7&x={x}&y={y}&z={z}', |
|
|
|
|
|
|
|
|
tileUrl: import.meta.env.VITE_APP_MAP_TILE_URL, |
|
|
|
|
|
// tileUrl: 'https://webrd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=7&x={x}&y={y}&z={z}',
|
|
|
// tileUrl: 'http://qtbj.icpcdev.site/roadmap/{z}/{x}/{y}.png',
|
|
|
// tileUrl: 'http://qtbj.icpcdev.site/roadmap/{z}/{x}/{y}.png',
|
|
|
// tileUrl: 'http://192.168.43.94:8080/{z}/{x}/{y}.png',
|
|
|
// tileUrl: 'http://192.168.43.94:8080/{z}/{x}/{y}.png',
|
|
|
center: [116.3912757, 39.906217] as [number, number], |
|
|
center: [116.3912757, 39.906217] as [number, number], |
|
|
|