Commit 728f25b6 by niuxiaolin

latest

parent d8e765c8
...@@ -682,7 +682,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -682,7 +682,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
; ;
BMap.UT = BMap.apiLoad || u(); BMap.UT = BMap.apiLoad || u();
BMap.S_ = BMap.verify || function() { BMap.S_ = BMap.verify || function() {
BMap.version && BMap.version >= 1.5 && pa(BMap.Cd + "?qt=verify&ak=" + qa, function(a) { BMap.version && BMap.version >= 1.5 && pa(BMap.cdnUrl + "?qt=verify&ak=" + authKey, function(a) {
if (a && a.error !== 0) { if (a && a.error !== 0) {
if (typeof map !== "undefined") { if (typeof map !== "undefined") {
map.Ua().innerHTML = ""; map.Ua().innerHTML = "";
...@@ -702,7 +702,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -702,7 +702,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}) })
} }
; ;
var qa = window.BMAP_AUTHENTIC_KEY; var authKey = window.BMAP_AUTHENTIC_KEY;
window.BMAP_AUTHENTIC_KEY = s; window.BMAP_AUTHENTIC_KEY = s;
var sa = window.BMap_loadScriptTime var sa = window.BMap_loadScriptTime
, ta = (new Date).getTime() , ta = (new Date).getTime()
...@@ -838,7 +838,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -838,7 +838,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
_this.W.xE(_this); _this.W.xE(_this);
opts = opts || {}; opts = opts || {};
e = _this.Db = _this.U.Db; e = _this.Db = _this.U.Db;
_this.Pc = e.nk(); _this.Pc = e.getProjection();
e === Sa && Ta(za); e === Sa && Ta(za);
e === Va && Ta(Aa); e === Va && Ta(Aa);
e = _this.U; e = _this.U;
...@@ -932,7 +932,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -932,7 +932,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
a.U.Xr && (a.$.Jl = setInterval(a.Sn, 80)) a.U.Xr && (a.$.Jl = setInterval(a.Sn, 80))
}, },
Wj: function(a, b, c, e) { Wj: function(a, b, c, e) {
var f = this.va().dc(this.ka()) var f = this.va().dc(this.getZoom())
, g = this.Pc , g = this.Pc
, i = p; , i = p;
c && J.iL(c) && (this.pe = new J(c.lng,c.lat), c && J.iL(c) && (this.pe = new J(c.lng,c.lat),
...@@ -942,7 +942,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -942,7 +942,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
(a = g.eh(this.fc, this.Vb)) && i) (a = g.eh(this.fc, this.Vb)) && i)
this.pe = a this.pe = a
}, },
yg: function(a, b) { zoomTo: function(a, b) {
if (Za(a) && (this.ru(), if (Za(a) && (this.ru(),
this.dispatchEvent(new Q("onzoomstart")), this.dispatchEvent(new Q("onzoomstart")),
a = this.tn(a).zoom, a = this.tn(a).zoom,
...@@ -950,20 +950,20 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -950,20 +950,20 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this.Bc = this.Va; this.Bc = this.Va;
this.Va = a; this.Va = a;
var c; var c;
b ? c = b : this.$g() && (c = this.$g().ja()); b ? c = b : this.getInfoWindow() && (c = this.getInfoWindow().ja());
c && (c = this.Rb(c, this.Bc), c && (c = this.Rb(c, this.Bc),
this.Wj(this.width / 2 - c.x, this.height / 2 - c.y, this.Ib(c, this.Bc), p)); this.Wj(this.width / 2 - c.x, this.height / 2 - c.y, this.Ib(c, this.Bc), p));
this.dispatchEvent(new Q("onzoomstartcode")) this.dispatchEvent(new Q("onzoomstartcode"))
} }
}, },
setZoom: function(a) { setZoom: function(a) {
this.yg(a) this.zoomTo(a)
}, },
hF: function(a) { zoomIn: function(a) {
this.yg(this.Va + 1, a) this.zoomTo(this.Va + 1, a)
}, },
iF: function(a) { zoomOut: function(a) {
this.yg(this.Va - 1, a) this.zoomTo(this.Va - 1, a)
}, },
panTo: function(a) { panTo: function(a) {
a instanceof J && (this.fc = this.Pc.bi(a, this.Vb), a instanceof J && (this.fc = this.Pc.bi(a, this.Vb),
...@@ -974,37 +974,37 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -974,37 +974,37 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
b = Math.round(b) || 0; b = Math.round(b) || 0;
this.Wj(-a, -b) this.Wj(-a, -b)
}, },
Mv: function(a) { addControl: function(a) {
a && $a(a.Fe) && (a.Fe(this), a && $a(a.Fe) && (a.Fe(this),
this.dispatchEvent(new Q("onaddcontrol",a))) this.dispatchEvent(new Q("onaddcontrol",a)))
}, },
KM: function(a) { removeControl: function(a) {
a && $a(a.remove) && (a.remove(), a && $a(a.remove) && (a.remove(),
this.dispatchEvent(new Q("onremovecontrol",a))) this.dispatchEvent(new Q("onremovecontrol",a)))
}, },
Wn: function(a) { addContextMenu: function(a) {
a && $a(a.xa) && (a.xa(this), a && $a(a.xa) && (a.xa(this),
this.dispatchEvent(new Q("onaddcontextmenu",a))) this.dispatchEvent(new Q("onaddcontextmenu",a)))
}, },
ap: function(a) { removeContextMenu: function(a) {
a && $a(a.remove) && (this.dispatchEvent(new Q("onremovecontextmenu",a)), a && $a(a.remove) && (this.dispatchEvent(new Q("onremovecontextmenu",a)),
a.remove()) a.remove())
}, },
Pa: function(a) { addOverlay: function(a) {
a && $a(a.Fe) && (a.Fe(this), a && $a(a.Fe) && (a.Fe(this),
this.dispatchEvent(new Q("onaddoverlay",a))) this.dispatchEvent(new Q("onaddoverlay",a)))
}, },
Sb: function(a) { removeOverlay: function(a) {
a && $a(a.remove) && (a.remove(), a && $a(a.remove) && (a.remove(),
this.dispatchEvent(new Q("onremoveoverlay",a))) this.dispatchEvent(new Q("onremoveoverlay",a)))
}, },
lJ: function() { clearOverlays: function() {
this.dispatchEvent(new Q("onclearoverlays")) this.dispatchEvent(new Q("onclearoverlays"))
}, },
Me: function(a) { addTileLayer: function(a) {
a && this.dispatchEvent(new Q("onaddtilelayer",a)) a && this.dispatchEvent(new Q("onaddtilelayer",a))
}, },
Tf: function(a) { removeTileLayer: function(a) {
a && this.dispatchEvent(new Q("onremovetilelayer",a)) a && this.dispatchEvent(new Q("onremovetilelayer",a))
}, },
setMapType: function(a) { setMapType: function(a) {
...@@ -1027,7 +1027,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1027,7 +1027,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}, },
setCenter: function(a) { setCenter: function(a) {
var b = this; var b = this;
if (a instanceof J) if (a instanceof Point)
b.ji(a, { b.ji(a, {
noAnimation: p noAnimation: p
}); });
...@@ -1159,14 +1159,14 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1159,14 +1159,14 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this.$.Jl && (clearInterval(this.$.Jl), this.$.Jl && (clearInterval(this.$.Jl),
this.$.Jl = s) this.$.Jl = s)
}, },
ro: function() { enable3DBuilding: function() {
this.U.ro = p; this.U.ro = p;
this.bn || (this.bn = new BuildingLayer({ this.bn || (this.bn = new BuildingLayer({
e2: p e2: p
}), }),
this.Me(this.bn)) this.Me(this.bn))
}, },
lV: function() { disable3DBuilding: function() {
this.U.ro = t; this.U.ro = t;
this.bn && (this.Tf(this.bn), this.bn && (this.Tf(this.bn),
this.bn = s, this.bn = s,
...@@ -1182,7 +1182,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1182,7 +1182,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}, },
getCenter: x("pe"), getCenter: x("pe"),
getZoom: x("Va"), getZoom: x("Va"),
zU: function() { checkResize: function() {
this.Sn() this.Sn()
}, },
tn: function(a) { tn: function(a) {
...@@ -1200,15 +1200,15 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1200,15 +1200,15 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
} }
}, },
Ua: x("Ya"), Ua: x("Ya"),
Rb: function(a, b) { pointToPixel: function(a, b) {
b = b || this.ka(); b = b || this.ka();
return this.Pc.Rb(a, b, this.fc, this.Hb(), this.Vb) return this.Pc.Rb(a, b, this.fc, this.Hb(), this.Vb)
}, },
Ib: function(a, b) { pixelToPoint: function(a, b) {
b = b || this.ka(); b = b || this.ka();
return this.Pc.Ib(a, b, this.fc, this.Hb(), this.Vb) return this.Pc.Ib(a, b, this.fc, this.Hb(), this.Vb)
}, },
Ve: function(a, b) { pointToOverlayPixel: function(a, b) {
if (a) { if (a) {
var c = this.Rb(new J(a.lng,a.lat), b); var c = this.Rb(new J(a.lng,a.lat), b);
c.x -= this.offsetX; c.x -= this.offsetX;
...@@ -1216,7 +1216,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1216,7 +1216,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
return c return c
} }
}, },
tM: function(a, b) { overlayPixelToPoint: function(a, b) {
if (a) { if (a) {
var c = new R(a.x,a.y); var c = new R(a.x,a.y);
c.x += this.offsetX; c.x += this.offsetX;
...@@ -1326,7 +1326,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1326,7 +1326,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this.Ed(c.center, c.zoom) this.Ed(c.center, c.zoom)
}, },
Mf: x("Wd"), Mf: x("Wd"),
$g: function() { getInfoWindow: function() {
return this.$.rb && this.$.rb.Za() ? this.$.rb : s return this.$.rb && this.$.rb.Za() ? this.$.rb : s
}, },
getDistance: function(a, b) { getDistance: function(a, b) {
...@@ -1340,7 +1340,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1340,7 +1340,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
return c return c
} }
}, },
Mw: function() { getOverlays: function() {
var a = [] var a = []
, b = this.Ba , b = this.Ba
, c = this.Ce; , c = this.Ce;
...@@ -1382,7 +1382,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1382,7 +1382,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
highResolutionEnabled: function() { highResolutionEnabled: function() {
return this.U.LV && 1.5 <= this.U.devicePixelRatio return this.U.LV && 1.5 <= this.U.devicePixelRatio
}, },
eB: function(a, b) { addHotspot: function(a, b) {
b ? this.Ah[b] || (this.Ah[b] = {}) : b = "custom"; b ? this.Ah[b] || (this.Ah[b] = {}) : b = "custom";
a.tag = b; a.tag = b;
a instanceof kb && (this.Ah[b][a.ea] = a, a instanceof kb && (this.Ah[b][a.ea] = a,
...@@ -1392,17 +1392,17 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1392,17 +1392,17 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
c.hu() c.hu()
}, p) }, p)
}, },
bZ: function(a, b) { removeHotspot: function(a, b) {
b || (b = "custom"); b || (b = "custom");
this.Ah[b][a.ea] && delete this.Ah[b][a.ea] this.Ah[b][a.ea] && delete this.Ah[b][a.ea]
}, },
bw: function(a) { clearHotspots: function(a) {
a || (a = "custom"); a || (a = "custom");
this.Ah[a] = {} this.Ah[a] = {}
}, },
ru: function() { ru: function() {
var a = this.Db.aj() var a = this.Db.getMinZoom()
, b = this.Db.Xh() , b = this.Db.getMaxZoom()
, c = this.U; , c = this.U;
c.gc = c.VN || a; c.gc = c.VN || a;
c.pc = c.UN || b; c.pc = c.UN || b;
...@@ -1437,7 +1437,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1437,7 +1437,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
setMapStyleV2: function(a) { setMapStyleV2: function(a) {
function b(a) { function b(a) {
c.c_ = a; c.c_ = a;
var b = BMap.Cd + "custom/v2/mapstyle?ak=" + qa + "&callback=cb&" var b = BMap.cdnUrl + "custom/v2/mapstyle?ak=" + authKey + "&callback=cb&"
, b = b + "is_all=true&is_new=1&" + ("styles=" + encodeURIComponent(c.LE(a, e))); , b = b + "is_all=true&is_new=1&" + ("styles=" + encodeURIComponent(c.LE(a, e)));
pa(b) pa(b)
} }
...@@ -1453,7 +1453,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1453,7 +1453,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this.U.customEditor = !!a.customEditor; this.U.customEditor = !!a.customEditor;
this.U.M4 = !!a.sharing; this.U.M4 = !!a.sharing;
this.U.s4 = !!a.preview; this.U.s4 = !!a.preview;
this.U.customEditor === t && this.tE(new P(1,1)); this.U.customEditor === t && this.setBMapCopyrightOffset(new P(1,1));
K.load("hotspot", function() { K.load("hotspot", function() {
c.hu() c.hu()
}, p); }, p);
...@@ -1464,13 +1464,13 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1464,13 +1464,13 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
var e = this.getZoom() var e = this.getZoom()
, f = {}; , f = {};
z.extend(f, a); z.extend(f, a);
window.cb = function(a) { window.cb = function(response) {
if (0 === a.status) { if (0 === response.status) {
3 === a.data.style.length ? (window.bmap_baseFs || (window.bmap_baseFs = a.data.style), 3 === response.data.style.length ? (window.bmap_baseFs || (window.bmap_baseFs = response.data.style),
window.Kp = a.data.style[2]) : window.Kp = a.data.style; window.Kp = response.data.style[2]) : window.Kp = response.data.style;
a = window.bmap_baseFs; response = window.bmap_baseFs;
if (z.km(window.qh)) if (z.km(window.qh))
window.j0 = a, window.j0 = response,
c.ZE(e); c.ZE(e);
else { else {
c.RN(window.Kp, e); c.RN(window.Kp, e);
...@@ -1479,7 +1479,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1479,7 +1479,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
for (b in a) { for (b in a) {
var g = {}; var g = {};
z.extend(g, f); z.extend(g, f);
c.MW(b, g) c.loadCustomStyle(b, g)
} }
} }
c.onupdatestylesOroninitindoorlayer() c.onupdatestylesOroninitindoorlayer()
...@@ -1512,7 +1512,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1512,7 +1512,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
var g = "/apiconsole/custommap/"; var g = "/apiconsole/custommap/";
switch (b) { switch (b) {
case "jsapi": case "jsapi":
g = BMap.Cd + "?qt=custom_map&v=3.0"; g = BMap.cdnUrl + "?qt=custom_map&v=3.0";
g += "&style_id=" + a + "&type=publish&ak=" + qa; g += "&style_id=" + a + "&type=publish&ak=" + qa;
g += "&callback=_cbk_si_phpui" + f; g += "&callback=_cbk_si_phpui" + f;
break; break;
...@@ -1599,10 +1599,10 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1599,10 +1599,10 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}) })
}) })
}, },
hX: function() { getVectorContainer: function() {
return this.oh.Hg return this.oh.Hg
}, },
MW: function(a, b) { loadCustomStyle: function(a, b) {
var c = this var c = this
, e = (1E5 * Math.random()).toFixed(0); , e = (1E5 * Math.random()).toFixed(0);
window["_cbk" + e] = function(b) { window["_cbk" + e] = function(b) {
...@@ -1614,12 +1614,12 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1614,12 +1614,12 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
delete window["_cbk" + e] delete window["_cbk" + e]
} }
; ;
var f = BMap.Cd + "custom/v2/mapstyle?ak=" + qa + "&callback=_cbk" + e + "&" var f = BMap.cdnUrl + "custom/v2/mapstyle?ak=" + authKey + "&callback=_cbk" + e + "&"
, f = f + "is_all=true&is_new=1&"; , f = f + "is_all=true&is_new=1&";
b.styleJson ? f += "styles=" + encodeURIComponent(this.LE(b.styleJson, parseInt(a, 10))) : b.styleId && (f += "styles=" + encodeURIComponent(c.LE(c.c_, parseInt(a, 10)))); b.styleJson ? f += "styles=" + encodeURIComponent(this.LE(b.styleJson, parseInt(a, 10))) : b.styleId && (f += "styles=" + encodeURIComponent(c.LE(c.c_, parseInt(a, 10))));
pa(f) pa(f)
}, },
tE: function(a, b) { setBMapCopyrightOffset: function(a, b) {
var c = new Q("oncopyrightoffsetchange",{ var c = new Q("oncopyrightoffsetchange",{
fY: a, fY: a,
UU: b UU: b
...@@ -1627,7 +1627,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1627,7 +1627,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this.U.vJ = b; this.U.vJ = b;
this.dispatchEvent(c) this.dispatchEvent(c)
}, },
kt: function(a) { setMapStyle: function(a) {
var b = this; var b = this;
window.MPC_Mgr && window.MPC_Mgr[b.ea] && window.MPC_Mgr[b.ea].close(); window.MPC_Mgr && window.MPC_Mgr[b.ea] && window.MPC_Mgr[b.ea].close();
b.U.oC = t; b.U.oC = t;
...@@ -1881,12 +1881,12 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1881,12 +1881,12 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
RN: function(style, b) { RN: function(style, b) {
window.Tt[b] = style; window.Tt[b] = style;
if (!window.qh[b]) if (!window.qh[b])
for (var c = this.Db.aj(), e = this.Db.Xh(); c <= e; c++) for (var c = this.Db.getMinZoom(), e = this.Db.getMaxZoom(); c <= e; c++)
window.qh[c] || (window.Tt[c] = style) window.qh[c] || (window.Tt[c] = style)
}, },
ZE: function(a) { ZE: function(a) {
if (!window.qh[a]) if (!window.qh[a])
for (var b = this.Db.aj(), c = this.Db.Xh(); b <= c; b++) for (var b = this.Db.getMinZoom(), c = this.Db.getMaxZoom(); b <= c; b++)
window.qh[b] || (window.La[b] || (window.La[b] = {}), window.qh[b] || (window.La[b] || (window.La[b] = {}),
window.La[b].bmapLandColor = window.La[a].bmapLandColor, window.La[b].bmapLandColor = window.La[a].bmapLandColor,
window.La[b].bmapRailwayFillColor = window.La[a].bmapRailwayFillColor, window.La[b].bmapRailwayFillColor = window.La[a].bmapRailwayFillColor,
...@@ -1942,7 +1942,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -1942,7 +1942,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
var f = function(a) { var f = function(a) {
a && (qb = p, a && (qb = p,
setTimeout(function() { setTimeout(function() {
rb.src = BMap.Cd + "images/blank.gif?" + a.src rb.src = BMap.cdnUrl + "images/blank.gif?" + a.src
}, 50)) }, 50))
} }
, g = function() { , g = function() {
...@@ -2035,14 +2035,14 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -2035,14 +2035,14 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
BMap.Nt = window.HOST_TYPE || "0"; BMap.Nt = window.HOST_TYPE || "0";
BMap.url = BMap.I_[BMap.Nt]; BMap.url = BMap.I_[BMap.Nt];
BMap.Uo = BMap.url.proto + BMap.url.domain.baidumap + "/"; BMap.Uo = BMap.url.proto + BMap.url.domain.baidumap + "/";
BMap.Cd = BMap.url.proto + ("2" == BMap.Nt ? BMap.url.domain.main_domain_nocdn.other : BMap.url.domain.main_domain_nocdn.baidu) + "/"; BMap.cdnUrl = BMap.url.proto + ("2" == BMap.Nt ? BMap.url.domain.main_domain_nocdn.other : BMap.url.domain.main_domain_nocdn.baidu) + "/";
BMap.oa = BMap.url.proto + ("2" == BMap.Nt ? BMap.url.domain.main_domain_cdn.other[0] : BMap.url.domain.main_domain_cdn.baidu[0]) + "/"; BMap.oa = BMap.url.proto + ("2" == BMap.Nt ? BMap.url.domain.main_domain_cdn.other[0] : BMap.url.domain.main_domain_cdn.baidu[0]) + "/";
BMap.Ri = BMap.url.proto + BMap.url.domain.main_domain_cdn.webmap[0] + "/"; BMap.Ri = BMap.url.proto + BMap.url.domain.main_domain_cdn.webmap[0] + "/";
BMap.Yh = function(a, b) { BMap.Yh = function(a, b) {
var c, e, b = b || ""; var c, e, b = b || "";
switch (a) { switch (a) {
case "main_domain_nocdn": case "main_domain_nocdn":
c = BMap.Cd + b; c = BMap.cdnUrl + b;
break; break;
case "main_domain_cdn": case "main_domain_cdn":
c = BMap.oa + b; c = BMap.oa + b;
...@@ -4073,21 +4073,21 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -4073,21 +4073,21 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this.Vd = b.lat) this.Vd = b.lat)
} }
z.object.extend(hb.prototype, { z.object.extend(hb.prototype, {
lj: function() { isEmpty: function() {
return !this.Al || !this.ll return !this.Al || !this.ll
}, },
oc: function(a) { equals: function(a) {
return !(a instanceof hb) || this.lj() ? t : this.Se().oc(a.Se()) && this.Lf().oc(a.Lf()) return !(a instanceof hb) || this.lj() ? t : this.Se().oc(a.Se()) && this.Lf().oc(a.Lf())
}, },
Se: x("Al"), Se: x("Al"),
Lf: x("ll"), Lf: x("ll"),
LU: function(a) { containsBounds: function(a) {
return !(a instanceof hb) || this.lj() || a.lj() ? t : a.Le > this.Le && a.Ge < this.Ge && a.Xd > this.Xd && a.Vd < this.Vd return !(a instanceof hb) || this.lj() || a.lj() ? t : a.Le > this.Le && a.Ge < this.Ge && a.Xd > this.Xd && a.Vd < this.Vd
}, },
Bb: function() { getCenter: function() {
return this.lj() ? s : new J((this.Le + this.Ge) / 2,(this.Xd + this.Vd) / 2) return this.lj() ? s : new J((this.Le + this.Ge) / 2,(this.Xd + this.Vd) / 2)
}, },
Ds: function(a) { intersects: function(a) {
if (!(a instanceof hb) || Math.max(a.Le, a.Ge) < Math.min(this.Le, this.Ge) || Math.min(a.Le, a.Ge) > Math.max(this.Le, this.Ge) || Math.max(a.Xd, a.Vd) < Math.min(this.Xd, this.Vd) || Math.min(a.Xd, a.Vd) > Math.max(this.Xd, this.Vd)) if (!(a instanceof hb) || Math.max(a.Le, a.Ge) < Math.min(this.Le, this.Ge) || Math.min(a.Le, a.Ge) > Math.max(this.Le, this.Ge) || Math.max(a.Xd, a.Vd) < Math.min(this.Xd, this.Vd) || Math.min(a.Xd, a.Vd) > Math.max(this.Xd, this.Vd))
return s; return s;
var b = Math.max(this.Le, a.Le) var b = Math.max(this.Le, a.Le)
...@@ -4096,7 +4096,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -4096,7 +4096,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
, a = Math.min(this.Vd, a.Vd); , a = Math.min(this.Vd, a.Vd);
return new hb(new J(b,e),new J(c,a)) return new hb(new J(b,e),new J(c,a))
}, },
Ar: function(a) { containsPoint: function(a) {
return !(a instanceof J) || this.lj() ? t : a.lng >= this.Le && a.lng <= this.Ge && a.lat >= this.Xd && a.lat <= this.Vd return !(a instanceof J) || this.lj() ? t : a.lng >= this.Le && a.lng <= this.Ge && a.lat >= this.Xd && a.lat <= this.Vd
}, },
extend: function(a) { extend: function(a) {
...@@ -4115,7 +4115,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -4115,7 +4115,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this.ll.lat = this.Vd = a this.ll.lat = this.Vd = a
} }
}, },
TE: function() { toSpan: function() {
return this.lj() ? new J(0,0) : new J(Math.abs(this.Ge - this.Le),Math.abs(this.Vd - this.Xd)) return this.lj() ? new J(0,0) : new J(Math.abs(this.Ge - this.Le),Math.abs(this.Vd - this.Xd))
} }
}); });
...@@ -4276,14 +4276,14 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -4276,14 +4276,14 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
bi: function(a) { bi: function(a) {
return S.Gb(a) return S.Gb(a)
}, },
qg: function(a) { lngLatToPoint: function(a) {
a = S.Gb(a); a = S.Gb(a);
return new R(a.lng,a.lat) return new R(a.lng,a.lat)
}, },
eh: function(a) { eh: function(a) {
return S.cc(a) return S.cc(a)
}, },
oj: function(a) { pointToLngLat: function(a) {
a = new J(a.x,a.y); a = new J(a.x,a.y);
return S.cc(a) return S.cc(a)
}, },
...@@ -4963,7 +4963,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -4963,7 +4963,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
return this.K.Da return this.K.Da
} }
}); });
Map.prototype.ad = function(a, b) { Map.prototype.openInfoWindow = function(a, b) {
if (a instanceof tc && b instanceof J) { if (a instanceof tc && b instanceof J) {
var c = this.$; var c = this.$;
c.nm ? c.nm.ua(b) : (c.nm = new V(b,{ c.nm ? c.nm.ua(b) : (c.nm = new V(b,{
...@@ -4980,7 +4980,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -4980,7 +4980,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
} }
} }
; ;
Map.prototype.Xc = function() { Map.prototype.closeInfoWindow = function() {
var a = this.$.rb || this.$.cl; var a = this.$.rb || this.$.cl;
a && a.sb && a.sb.Xc() a && a.sb && a.sb.Xc()
} }
...@@ -6192,7 +6192,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -6192,7 +6192,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
b = b || {}); b = b || {});
b.geotableId && (c.xf = b.geotableId); b.geotableId && (c.xf = b.geotableId);
b.databoxId && (c.hn = b.databoxId); b.databoxId && (c.hn = b.databoxId);
var f = BMap.Cd + "geosearch"; var f = BMap.cdnUrl + "geosearch";
c.$a = { c.$a = {
AM: b.pointDensity || Xc, AM: b.pointDensity || Xc,
rX: f + "/detail/", rX: f + "/detail/",
...@@ -7706,15 +7706,15 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -7706,15 +7706,15 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
; ;
fa.To = function(a) { fa.To = function(a) {
this.Fr = []; this.Fr = [];
var b = this.M var b = this.map
, c = b.ka() , c = b.getZoom()
, e = b.Pc.bi(b.pe) , e = b.Pc.bi(b.pe)
, f = this.Bd.dc(c) , f = this.Bd.dc(c)
, e = [Math.round(-e.lng / f), Math.round(e.lat / f)] , e = [Math.round(-e.lng / f), Math.round(e.lat / f)]
, f = this.Bd.Id(c) , f = this.Bd.Id(c)
, g = b.ea.replace(/^TANGRAM_/, "") , g = b.ea.replace(/^TANGRAM_/, "")
, i = this.Bd.gs(c) , i = this.Bd.gs(c)
, b = this.M , b = this.map
, k = -b.offsetY + b.height / 2 , k = -b.offsetY + b.height / 2
, m = this.Rn; , m = this.Rn;
m.style.left = -b.offsetX + b.width / 2 + "px"; m.style.left = -b.offsetX + b.width / 2 + "px";
...@@ -7820,7 +7820,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -7820,7 +7820,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
} else { } else {
this.Ls = o.length; this.Ls = o.length;
this.ex = t; this.ex = t;
c = this.Bd.gs(this.M.ka()); c = this.Bd.gs(this.map.getZoom());
for (e = 0; e < a.length; e++) for (e = 0; e < a.length; e++)
a[e][3] = c; a[e][3] = c;
for (e = 0; e < o.length; e++) for (e = 0; e < o.length; e++)
...@@ -7846,7 +7846,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -7846,7 +7846,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
RM: 0 RM: 0
}; };
var k = a var k = a
, m = k.M , m = k.map
, n = [] , n = []
, n = "0" === BMap.Nt ? k.$a.zN.http : k.$a.zN.https , n = "0" === BMap.Nt ? k.$a.zN.http : k.$a.zN.https
, o = Math.abs(b + c) % n.length , o = Math.abs(b + c) % n.length
...@@ -7862,7 +7862,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -7862,7 +7862,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
clearTimeout(i[g].Ik); clearTimeout(i[g].Ik);
i[g] = s; i[g] = s;
if (a) { if (a) {
var n = m.ka(), o; var n = m.getZoom(), o;
a: { a: {
for (o = 0; o < k.ow.length; o++) { for (o = 0; o < k.ow.length; o++) {
var q = k.ow[o]; var q = k.ow[o];
...@@ -7945,7 +7945,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -7945,7 +7945,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
} }
} }
fa.jo = function() { fa.jo = function() {
var a = this.M.Hb() var a = this.map.getSize()
, b = this.Vc; , b = this.Vc;
this.Qo.clearRect(0, 0, a.width * b, a.height * b) this.Qo.clearRect(0, 0, a.width * b, a.height * b)
} }
...@@ -8038,7 +8038,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -8038,7 +8038,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
if (this.or[b]) if (this.or[b])
return this.or[b]; return this.or[b];
var c = this.M var c = this.M
, e = c.ka() , e = c.getZoom()
, f = c.fc , f = c.fc
, g = a.XC(e); , g = a.XC(e);
c.ea.replace(/^TANGRAM_/, ""); c.ea.replace(/^TANGRAM_/, "");
...@@ -8103,32 +8103,32 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -8103,32 +8103,32 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
} }
z.extend(Dd.prototype, { z.extend(Dd.prototype, {
getName: x("jd"), getName: x("jd"),
ss: function() { getTips: function() {
return this.m.r_ return this.m.r_
}, },
H2: function() { H2: function() {
return this.m.KD return this.m.KD
}, },
bX: function() { getTileLayer: function() {
return this.$e[0] return this.$e[0]
}, },
V2: x("$e"), V2: x("$e"),
Id: function() { Id: function() {
return this.m.dy return this.m.dy
}, },
aj: function() { getMinZoom: function() {
return this.m.gc return this.m.gc
}, },
Xh: function() { getMaxZoom: function() {
return this.m.pc return this.m.pc
}, },
setMaxZoom: function(a) { setMaxZoom: function(a) {
this.m.pc = a this.m.pc = a
}, },
cm: function() { getTextColor: function() {
return this.m.OE return this.m.OE
}, },
nk: function() { getProjection: function() {
return this.m.Pc return this.m.Pc
}, },
A2: function() { A2: function() {
...@@ -8304,7 +8304,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -8304,7 +8304,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
am: x("Ke") am: x("Ke")
}); });
var Md = { var Md = {
GF: BMap.Cd, GF: BMap.cdnUrl,
nb: function(a, b, c, e, f) { nb: function(a, b, c, e, f) {
this.YY(b); this.YY(b);
var g = (1E5 * Math.random()).toFixed(0); var g = (1E5 * Math.random()).toFixed(0);
...@@ -8316,7 +8316,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -8316,7 +8316,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
; ;
e = e || ""; e = e || "";
b = c && c.K_ ? Gb(b, encodeURI) : Gb(b, encodeURIComponent); b = c && c.K_ ? Gb(b, encodeURI) : Gb(b, encodeURIComponent);
this.GF = c && c.WJ ? c.PM ? c.PM : BMap.Uo : BMap.Cd; this.GF = c && c.WJ ? c.PM ? c.PM : BMap.Uo : BMap.cdnUrl;
e = this.GF + e + "?" + b + "&ie=utf-8&oue=1&fromproduct=jsapi"; e = this.GF + e + "?" + b + "&ie=utf-8&oue=1&fromproduct=jsapi";
f || (e += "&res=api"); f || (e += "&res=api");
e = e + ("&callback=BMap._rd._cbk" + g) + ("&ak=" + qa); e = e + ("&callback=BMap._rd._cbk" + g) + ("&ak=" + qa);
...@@ -10983,29 +10983,29 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -10983,29 +10983,29 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
setCurrentCity: mapPrototype.setCurrentCity, setCurrentCity: mapPrototype.setCurrentCity,
setMapType: mapPrototype.setMapType, setMapType: mapPrototype.setMapType,
setViewport: mapPrototype.setViewport, setViewport: mapPrototype.setViewport,
setZoom: mapPrototype.Qc, setZoom: mapPrototype.setZoom,
highResolutionEnabled: mapPrototype.highResolutionEnabled, highResolutionEnabled: mapPrototype.highResolutionEnabled,
zoomTo: mapPrototype.yg, zoomTo: mapPrototype.zoomTo,
zoomIn: mapPrototype.hF, zoomIn: mapPrototype.zoomIn,
zoomOut: mapPrototype.iF, zoomOut: mapPrototype.zoomOut,
addHotspot: mapPrototype.eB, addHotspot: mapPrototype.addHotspot,
removeHotspot: mapPrototype.bZ, removeHotspot: mapPrototype.removeHotspot,
clearHotspots: mapPrototype.bw, clearHotspots: mapPrototype.clearHotspots,
checkResize: mapPrototype.zU, checkResize: mapPrototype.checkResize,
addControl: mapPrototype.Mv, addControl: mapPrototype.addControl,
removeControl: mapPrototype.KM, removeControl: mapPrototype.removeControl,
getContainer: mapPrototype.Ua, getContainer: mapPrototype.Ua,
addContextMenu: mapPrototype.Wn, addContextMenu: mapPrototype.addContextMenu,
removeContextMenu: mapPrototype.ap, removeContextMenu: mapPrototype.removeContextMenu,
addOverlay: mapPrototype.Pa, addOverlay: mapPrototype.addOverlay,
removeOverlay: mapPrototype.Sb, removeOverlay: mapPrototype.removeOverlay,
clearOverlays: mapPrototype.lJ, clearOverlays: mapPrototype.clearOverlays,
openInfoWindow: mapPrototype.ad, openInfoWindow: mapPrototype.openInfoWindow,
closeInfoWindow: mapPrototype.Xc, closeInfoWindow: mapPrototype.closeInfoWindow,
pointToOverlayPixel: mapPrototype.Ve, pointToOverlayPixel: mapPrototype.pointToOverlayPixel,
overlayPixelToPoint: mapPrototype.tM, overlayPixelToPoint: mapPrototype.overlayPixelToPoint,
getInfoWindow: mapPrototype.$g, getInfoWindow: mapPrototype.getInfoWindow,
getOverlays: mapPrototype.Mw, getOverlays: mapPrototype.getOverlays,
getPanes: function() { getPanes: function() {
return { return {
floatPane: this.Wd.BC, floatPane: this.Wd.BC,
...@@ -11018,30 +11018,30 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -11018,30 +11018,30 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
vertexPane: this.Wd.$N vertexPane: this.Wd.$N
} }
}, },
addTileLayer: mapPrototype.Me, addTileLayer: mapPrototype.addTileLayer,
removeTileLayer: mapPrototype.Tf, removeTileLayer: mapPrototype.removeTileLayer,
pixelToPoint: mapPrototype.Ib, pixelToPoint: mapPrototype.Ib,
pointToPixel: mapPrototype.Rb, pointToPixel: mapPrototype.Rb,
setFeatureStyle: mapPrototype.J4, setFeatureStyle: mapPrototype.J4,
selectBaseElement: mapPrototype.C4, selectBaseElement: mapPrototype.C4,
setMapStyle: mapPrototype.kt, setMapStyle: mapPrototype.setMapStyle,
enable3DBuilding: mapPrototype.ro, enable3DBuilding: mapPrototype.enable3DBuilding,
disable3DBuilding: mapPrototype.lV, disable3DBuilding: mapPrototype.disable3DBuilding,
getPanorama: mapPrototype.getPanorama, getPanorama: mapPrototype.getPanorama,
initIndoorLayer: mapPrototype.initIndoorLayer, initIndoorLayer: mapPrototype.initIndoorLayer,
setNormalMapDisplay: mapPrototype.setNormalMapDisplay, setNormalMapDisplay: mapPrototype.setNormalMapDisplay,
setMapStyleV2: mapPrototype.setMapStyleV2, setMapStyleV2: mapPrototype.setMapStyleV2,
setBMapCopyrightOffset: mapPrototype.tE, setBMapCopyrightOffset: mapPrototype.setBMapCopyrightOffset,
getVectorContainer: mapPrototype.hX getVectorContainer: mapPrototype.getVectorContainer
}); });
var Bf = Dd.prototype; var Bf = Dd.prototype;
mergeAttribute(Bf, { mergeAttribute(Bf, {
getTileLayer: Bf.bX, getTileLayer: Bf.getTileLayer,
getMinZoom: Bf.aj, getMinZoom: Bf.getMinZoom,
getMaxZoom: Bf.Xh, getMaxZoom: Bf.getMaxZoom,
getProjection: Bf.nk, getProjection: Bf.getProjection,
getTextColor: Bf.cm, getTextColor: Bf.getTextColor,
getTips: Bf.ss getTips: Bf.getTips
}); });
mergeAttribute(window, { mergeAttribute(window, {
BMAP_NORMAL_MAP: Pa, BMAP_NORMAL_MAP: Pa,
...@@ -11051,26 +11051,26 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6"; ...@@ -11051,26 +11051,26 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}); });
var Cf = S.prototype; var Cf = S.prototype;
mergeAttribute(Cf, { mergeAttribute(Cf, {
lngLatToPoint: Cf.qg, lngLatToPoint: Cf.lngLatToPoint,
pointToLngLat: Cf.oj pointToLngLat: Cf.pointToLngLat
}); });
var Df = jb.prototype; var Df = jb.prototype;
mergeAttribute(Df, { mergeAttribute(Df, {
lngLatToPoint: Df.qg, lngLatToPoint: Df.lngLatToPoint,
pointToLngLat: Df.oj pointToLngLat: Df.pointToLngLat
}); });
var Ef = hb.prototype; var Ef = hb.prototype;
mergeAttribute(Ef, { mergeAttribute(Ef, {
equals: Ef.oc, equals: Ef.equals,
containsPoint: Ef.Ar, containsPoint: Ef.containsPoint,
containsBounds: Ef.LU, containsBounds: Ef.containsBounds,
intersects: Ef.Ds, intersects: Ef.intersects,
extend: Ef.extend, extend: Ef.extend,
getCenter: Ef.Bb, getCenter: Ef.getCenter,
isEmpty: Ef.lj, isEmpty: Ef.isEmpty,
getSouthWest: Ef.Se, getSouthWest: Ef.Se,
getNorthEast: Ef.Lf, getNorthEast: Ef.Lf,
toSpan: Ef.TE toSpan: Ef.toSpan
}); });
var Ff = mc.prototype; var Ff = mc.prototype;
mergeAttribute(Ff, { mergeAttribute(Ff, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment