From ae0de0617298a3d276622421c77c72435f4ec068 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期一, 31 七月 2023 16:32:00 +0800 Subject: [PATCH] 提交文件 --- static/bmap_offline_demo/bmap_offline_api_v3.0_min.js | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/static/bmap_offline_demo/bmap_offline_api_v3.0_min.js b/static/bmap_offline_demo/bmap_offline_api_v3.0_min.js index 911aae7..85f2724 100644 --- a/static/bmap_offline_demo/bmap_offline_api_v3.0_min.js +++ b/static/bmap_offline_demo/bmap_offline_api_v3.0_min.js @@ -6515,11 +6515,11 @@ //e = this.map.Va.Lw(e, b).hs; //return (kd[Math.abs(e + a) % kd.length] + "?qt=tile&x=" + (e + "").replace(/-/gi, "M") + "&y=" + (a + "").replace(/-/gi, "M") + "&z=" + b + "&styles=" + c + "&scaler=" + g + (6 == z.ca.ia ? "&color_dep=32&colors=50" : "") + "&udt=" + f).replace(/-(\d+)/gi, "M$1") - // var tdir = bmapcfg.tiles_dir.length>0?bmapcfg.tiles_dir:bmapcfg.home + "tiles"; - // return tdir + "/" + b + "/" + e + "/" + a + bmapcfg.imgext; // 浣跨敤鏈湴鐨勭摝鐗� - var test2=("http://139.24.190.120/"+b+"/"+ (e+"").replace(/-/gi,"M")+"/"+(a+"").replace(/-/gi,"M")+ ".png").replace(/-(\d+)/gi,"M$1"); - console.log(test2) - return test2; + var tdir = bmapcfg.tiles_dir.length>0?bmapcfg.tiles_dir:bmapcfg.home + "tiles"; + return tdir + "/" + b + "/" + e + "/" + a + bmapcfg.imgext; // 浣跨敤鏈湴鐨勭摝鐗� + // var test2=("http://192.168.31.80/"+b+"/"+ (e+"").replace(/-/gi,"M")+"/"+(a+"").replace(/-/gi,"M")+ ".png").replace(/-(\d+)/gi,"M$1"); + // console.log(test2) + // return test2; } ; var La = new id("\u5730\u56fe",md,{ -- Gitblit v1.9.1