修改地图api

This commit is contained in:
guanj
2026-06-29 14:41:12 +08:00
parent ff841cfa93
commit 21ac0611cd
2 changed files with 21 additions and 20 deletions

View File

@@ -4744,17 +4744,18 @@ window.BMAP_AUTHENTIC_KEY = ''
Ka.prototype.pc = function (a, b) { Ka.prototype.pc = function (a, b) {
if (a instanceof tc && b instanceof J) { if (a instanceof tc && b instanceof J) {
var c = this.R var c = this.R
c.Nm:(c.Nm.bS = 1)) c.Nm
// ? c.Nm.sa(b) ? c.Nm.sa(b)
// : ((c.Nm = new U(b, { : ((c.Nm = new U(b, {
// icon: new qc(G.qa + 'blank.gif', { // icon: new qc(G.qa + 'blank.gif', {
// width: 1, // width: 1,
// height: 1 // height: 1
// }), // }),
// offset: new O(0, 0), icon: '',
// clickable: t offset: new O(0, 0),
// })), clickable: t
// (c.Nm.bS = 1)) })),
(c.Nm.bS = 1))
this.Ga(c.Nm) this.Ga(c.Nm)
c.Nm.pc(a) c.Nm.pc(a)
} }
@@ -5886,7 +5887,7 @@ window.BMAP_AUTHENTIC_KEY = ''
Qc.prototype.co = function () { Qc.prototype.co = function () {
this.Gb.src = this.Gb.src =
0 < z.ca.ia && 6 >= z.ca.ia && this.GJ 0 < z.ca.ia && 6 >= z.ca.ia && this.GJ
?'' //G.qa + 'blank.gif' ? '' //G.qa + 'blank.gif'
: '' !== this.src && this.Gb.src == this.src : '' !== this.src && this.Gb.src == this.src
? this.src + '&t = ' + Date.now() ? this.src + '&t = ' + Date.now()
: this.src : this.src

View File

@@ -142,14 +142,14 @@ narimap.publicKey = 'JBb74325ae94dc49358b7d699660b692'
narimap.Require( narimap.Require(
[ [
'PSRMap', 'PSRMap',//pwgdgeomapsdk
'ManageGrid', 'ManageGrid',// pwmagdmapsdk
'Components.Query', 'Components.Query',// EquipSearchCBB
'Components.DeviceCard', 'Components.DeviceCard',//EquipOverviewCBB、EquipDetailCBB
'Popup', 'Popup', //mapsdk
'Components.MapSelector', 'Components.MapSelector',//MapThemeSwitchCBB
'Components.RegionSelector', 'Components.RegionSelector',//OrgSelectorCBB
'Marker' 'Marker' //mapsdk
], ],
// ['PSRMap', 'Components.Query', 'Marker'], // ['PSRMap', 'Components.Query', 'Marker'],
() => { () => {