master
yin5th 2022-01-27 11:46:24 +08:00
parent 4f88ec733d
commit c819a2479e
3 changed files with 6 additions and 6 deletions

View File

@ -672,7 +672,7 @@ layui.define(['layer', 'locationX'], function (exports) {
$("#lat").val(o.lat);
// 渲染地图
if (undefined === window.BMap) {
$.getScript("http://api.map.baidu.com/getscript?v=2.0&ak=tCNPmUfNmy4nTR3VYW71a6IgyWMaOSUb&services=&t=20200824135534", function () {
$.getScript("https://api.map.baidu.com/getscript?v=2.0&ak=tCNPmUfNmy4nTR3VYW71a6IgyWMaOSUb&services=&t=20200824135534", function () {
o.openBaiduMap();
});
} else {
@ -697,7 +697,7 @@ layui.define(['layer', 'locationX'], function (exports) {
$("#lat").val(o.lat);
// 渲染地图
if (undefined === window.T) {
$.getScript("http://api.tianditu.gov.cn/api?v=4.0&tk=a8718394c98e9ae85b0d7af352653ce2&callback=init", function () {
$.getScript("https://api.tianditu.gov.cn/api?v=4.0&tk=a8718394c98e9ae85b0d7af352653ce2&callback=init", function () {
o.openTiandiMap();
})
} else {

View File

@ -138,8 +138,8 @@
location.render("#locationBtn",{
type: 1,
apiType: "gaodeMap",
coordinate: "gaodeMap",
apiType: "baiduMap",
coordinate: "baiduMap",
mapType: 0,
zoom: 15,
title: '区域定位',

View File

@ -145,8 +145,8 @@
location.render("#locationBtn",{
type: 1,
apiType: "gaodeMap",
coordinate: "gaodeMap",
apiType: "baiduMap",
coordinate: "baiduMap",
mapType: 0,
zoom: 15,
title: '区域定位',