Commit e8c2d124 by niuxiaolin

a loat

parent 0f5e7d60
window.TILE_VERSION = {
"ditu": {
"normal": {
......@@ -89,6 +91,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
var ja, z = ja = z || {
version: "1.3.4"
};
//z 是一个超大工具类
z.ea = "$BAIDU$";
window[z.ea] = window[z.ea] || {};
z.object = z.object || {};
......@@ -719,54 +722,55 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
, Ka = 5011
, Ma = 7E3;
var Na = 0;
function Map(a, b) {
if (a = z.da(a)) {
var c = this;
z.lang.Ga.call(c);
b = b || {};
c.U = {
// a=container, b=opts , c = _this
function Map(container, opts) {
if (container = z.da(container)) {
var _this = this;
z.lang.Ga.call(_this);
opts = opts || {};
_this.U = {
zB: 200,
Wb: p,
ww: t,
mC: p,
to: p,
vo: b.enableWheelZoom || t,
vo: opts.enableWheelZoom || t,
TJ: p,
pC: p,
Yr: p,
Xr: p,
tC: p,
ro: b.enable3DBuilding || t,
ro: opts.enable3DBuilding || t,
Hc: 25,
e0: 240,
HT: 450,
yc: H.yc,
Gd: H.Gd,
Hs: !!b.Hs,
gc: Math.round(b.minZoom) || 1,
pc: Math.round(b.maxZoom) || 19,
Db: b.mapType || Pa,
Hs: !!opts.Hs,
gc: Math.round(opts.minZoom) || 1,
pc: Math.round(opts.maxZoom) || 19,
Db: opts.mapType || Pa,
x4: t,
QJ: b.drawer || Na,
QJ: opts.drawer || Na,
vw: p,
uw: 500,
LV: b.enableHighResolution !== t,
oC: b.enableMapClick !== t,
devicePixelRatio: b.devicePixelRatio || window.devicePixelRatio || 1,
LV: opts.enableHighResolution !== t,
oC: opts.enableMapClick !== t,
devicePixelRatio: opts.devicePixelRatio || window.devicePixelRatio || 1,
bF: 99,
we: b.mapStyle || s,
gY: b.logoControl === t ? t : p,
we: opts.mapStyle || s,
gY: opts.logoControl === t ? t : p,
aU: [],
x1: b.beforeClickIcon || s,
x1: opts.beforeClickIcon || s,
Xi: t,
uo: t,
mo: t,
aM: p
};
c.U.we && (this.CX(c.U.we.controls),
this.eL(c.U.we.geotableId));
c.U.we && c.U.we.styleId && c.U2(c.U.we.styleId);
c.U.CB = {
_this.U.we && (this.CX(_this.U.we.controls),
this.eL(_this.U.we.geotableId));
_this.U.we && _this.U.we.styleId && _this.U2(_this.U.we.styleId);
_this.U.CB = {
dark: {
backColor: "#2D2D2D",
textColor: "#bfbfbf",
......@@ -783,65 +787,65 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
iconUrl: "licons"
}
};
b.enableAutoResize && (c.U.Xr = b.enableAutoResize);
b.enableStreetEntrance === t && (c.U.tC = b.enableStreetEntrance);
b.enableDeepZoom === t && (c.U.TJ = b.enableDeepZoom);
var e = c.U.aU;
opts.enableAutoResize && (_this.U.Xr = opts.enableAutoResize);
opts.enableStreetEntrance === t && (_this.U.tC = opts.enableStreetEntrance);
opts.enableDeepZoom === t && (_this.U.TJ = opts.enableDeepZoom);
var e = _this.U.aU;
if (I())
for (var f = 0, g = e.length; f < g; f++)
if (z.ga[e[f]]) {
c.U.devicePixelRatio = 1;
_this.U.devicePixelRatio = 1;
break
}
e = -1 < navigator.userAgent.toLowerCase().indexOf("android");
f = -1 < navigator.userAgent.toLowerCase().indexOf("mqqbrowser");
if (-1 < navigator.userAgent.toLowerCase().indexOf("UCBrowser") || e && f)
c.U.bF = 99;
c.Ya = a;
c.MA(a);
a.unselectable = "on";
a.innerHTML = "";
a.appendChild(c.za());
b.size && this.Ae(b.size);
e = c.Hb();
c.width = e.width;
c.height = e.height;
c.offsetX = 0;
c.offsetY = 0;
c.platform = a.firstChild;
c.xe = c.platform.firstChild;
c.xe.style.width = c.width + "px";
c.xe.style.height = c.height + "px";
c.Wd = {};
c.pe = new J(0,0);
c.fc = new J(0,0);
c.Va = 3;
c.Bc = 0;
c.NB = s;
c.MB = s;
c.Vb = "";
c.$v = "";
c.Ah = {};
c.Ah.custom = {};
c.xi = {};
c.Wa = 0;
b.useWebGL === t && Qa(t);
c.W = new Ra(a,{
_this.U.bF = 99;
_this.Ya = container;
_this.MA(container);
container.unselectable = "on";
container.innerHTML = "";
container.appendChild(_this.za());
opts.size && this.Ae(opts.size);
e = _this.Hb();
_this.width = e.width;
_this.height = e.height;
_this.offsetX = 0;
_this.offsetY = 0;
_this.platform = container.firstChild;
_this.xe = _this.platform.firstChild;
_this.xe.style.width = _this.width + "px";
_this.xe.style.height = _this.height + "px";
_this.Wd = {};
_this.pe = new J(0,0);
_this.fc = new J(0,0);
_this.Va = 3;
_this.Bc = 0;
_this.NB = s;
_this.MB = s;
_this.Vb = "";
_this.$v = "";
_this.Ah = {};
_this.Ah.custom = {};
_this.xi = {};
_this.Wa = 0;
opts.useWebGL === t && Qa(t);
_this.W = new Ra(container,{
hf: "api",
LR: p
});
c.W.aa();
c.W.xE(c);
b = b || {};
e = c.Db = c.U.Db;
c.Pc = e.nk();
_this.W.aa();
_this.W.xE(_this);
opts = opts || {};
e = _this.Db = _this.U.Db;
_this.Pc = e.nk();
e === Sa && Ta(za);
e === Va && Ta(Aa);
e = c.U;
e.VN = Math.round(b.minZoom);
e.UN = Math.round(b.maxZoom);
c.ru();
c.$ = {
e = _this.U;
e.VN = Math.round(opts.minZoom);
e.UN = Math.round(opts.maxZoom);
_this.ru();
_this.$ = {
Ic: t,
mc: 0,
Ms: 0,
......@@ -851,29 +855,30 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
gE: -1,
re: []
};
c.platform.style.cursor = c.U.yc;
_this.platform.style.cursor = _this.U.yc;
for (f = 0; f < BMap.Wq.length; f++)
BMap.Wq[f](c);
c.$.gE = f;
c.fa();
BMap.Wq[f](_this);
_this.$.gE = f;
_this.fa();
K.load("map", function() {
c.jb()
_this.jb()
});
c.U.oC && (setTimeout(function() {
_this.U.oC && (setTimeout(function() {
Ta(Ba)
}, 1E3),
K.load("mapclick", function() {
window.MPC_Mgr = window.MPC_Mgr || {};
window.MPC_Mgr[c.ea] = new Wa(c)
window.MPC_Mgr[c.ea] = new Wa(_this)
}, p));
Xa() && K.load("oppc", function() {
c.hu()
_this.hu()
});
I() && K.load("opmb", function() {
c.hu()
_this.hu()
});
a = s;
c.$A = []
//a = s;
container = s;
_this.$A = []
}
}
z.lang.wa(Map, z.lang.Ga, "Map");
......@@ -1242,7 +1247,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
a.y += this.offsetY,
gb.qJ(a, this, b))
},
te: function(a) {
getBounds: function(a) {
if (!this.fx())
return new hb;
var b = a || {}
......@@ -2689,7 +2694,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
L.XE = A;
L("init");
var ba = y.prototype;
U(ba, {
mergeAttribute(ba, {
start: ba.start,
create: ba.create,
send: ba.send,
......@@ -4167,7 +4172,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
})
}
});
U(lc.prototype, {
mergeAttribute(lc.prototype, {
translate: lc.prototype.translate
});
function S() {}
......@@ -5421,8 +5426,8 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}
});
var Ic = {};
function Jc(a) {
this.map = a;
function Jc(baiduInstance) {
this.map = baiduInstance;
this.mm = [];
this.Uf = [];
this.xg = [];
......@@ -5437,10 +5442,10 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this.hg = this.bq(2);
this.ml = this.bq(3);
this.Hg = this.bq(4);
a.platform.appendChild(this.An);
a.platform.appendChild(this.hg);
a.platform.appendChild(this.ml);
a.platform.appendChild(this.Hg);
baiduInstance.platform.appendChild(this.An);
baiduInstance.platform.appendChild(this.hg);
baiduInstance.platform.appendChild(this.ml);
baiduInstance.platform.appendChild(this.Hg);
var b = 256 * Math.pow(2, 15)
, c = 3 * b
, a = S.Gb(new J(180,0)).lng
......@@ -5452,36 +5457,36 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this.aA = c + (e - b);
this.pH = a - e
}
BMap.We(function(a) {
var b = new Jc(a);
b.xa();
a.oh = b
BMap.We(function(baiduInstance) {
var b = new Jc(baiduInstance);
b.bindEvent();
baiduInstance.oh = b
});
z.extend(Jc.prototype, {
xa: function() {
var a = this
, b = a.map;
b.addEventListener("loadcode", function() {
a.To()
bindEvent: function() {
var _this = this
, mapInstance = _this.map;
mapInstance.addEventListener("loadcode", function() {
_this.To()
});
b.addEventListener("addtilelayer", function(b) {
a.Me(b)
mapInstance.addEventListener("addtilelayer", function(b) {
_this.Me(b)
});
b.addEventListener("removetilelayer", function(b) {
a.Tf(b)
mapInstance.addEventListener("removetilelayer", function(b) {
_this.Tf(b)
});
b.addEventListener("setmaptype", function(b) {
a.wg(b)
mapInstance.addEventListener("setmaptype", function(b) {
_this.wg(b)
});
b.addEventListener("zoomstartcode", function(b) {
a.Kc(b)
mapInstance.addEventListener("zoomstartcode", function(b) {
_this.Kc(b)
});
b.addEventListener("setcustomstyles", function(b) {
a.kt(b.target);
a.Rf(p)
mapInstance.addEventListener("setcustomstyles", function(b) {
_this.kt(b.target);
_this.Rf(p)
});
b.addEventListener("initindoorlayer", function(b) {
a.uD(b)
mapInstance.addEventListener("initindoorlayer", function(b) {
_this.uD(b)
})
},
To: function() {
......@@ -8520,7 +8525,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
toString: ea("LocalSearch")
});
var ce = fb.prototype;
U(ce, {
mergeAttribute(ce, {
clearResults: ce.Pe,
setPageCapacity: ce.kp,
getPageCapacity: ce.kf,
......@@ -8596,7 +8601,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}
});
var fe = ee.prototype;
U(fe, {
mergeAttribute(fe, {
_internalSearch: fe.Pz
});
function ge(a, b) {
......@@ -8765,7 +8770,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
toString: ea("Geocoder")
});
var qe = pe.prototype;
U(qe, {
mergeAttribute(qe, {
getPoint: qe.$l,
getLocation: qe.Yl
});
......@@ -9228,7 +9233,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
wE: u()
});
var Be = Ra.prototype;
U(Be, {
mergeAttribute(Be, {
setId: Be.Cc,
setPosition: Be.ua,
setPov: Be.od,
......@@ -9258,7 +9263,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
exitInter: Be.wo,
setInteractiveState: Be.wE
});
U(window, {
mergeAttribute(window, {
BMAP_PANORAMA_POI_HOTEL: "hotel",
BMAP_PANORAMA_POI_CATERING: "catering",
BMAP_PANORAMA_POI_MOVIE: "movie",
......@@ -9379,7 +9384,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
Hf: u()
});
var Fe = De.prototype;
U(Fe, {
mergeAttribute(Fe, {
setPosition: Fe.ua,
getPosition: Fe.ja,
setContent: Fe.cd,
......@@ -9451,7 +9456,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
Hf: u()
});
var He = Ge.prototype;
U(He, {
mergeAttribute(He, {
setPosition: He.ua,
getPosition: He.ja,
setTitle: He.Dc,
......@@ -9634,7 +9639,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}
});
var Le = ec.prototype;
U(Le, {
mergeAttribute(Le, {
getPanoramaById: Le.Go,
getPanoramaByLocation: Le.dj,
getPanoramaByPOIId: Le.Nw
......@@ -9665,7 +9670,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}
});
var Ne = Me;
U(Ne, {
mergeAttribute(Ne, {
dispatchFlashEvent: Ne.pV
});
var Oe = {
......@@ -10946,11 +10951,12 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
BMap.PanoramaService = ec;
BMap.PanoramaCoverageLayer = dc;
BMap.PanoramaFlashInterface = Me;
function U(a, b) {
//merge attribute and functions.
function mergeAttribute(a, b) {
for (var c in b)
a[c] = b[c]
}
U(window, {
mergeAttribute(window, {
BMap: BMap,
_jsload2: function(a, b) {
ja.Zx.UX && ja.Zx.set(a, b);
......@@ -10959,8 +10965,8 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
BMAP_API_VERSION: "2.0"
});
var mapPrototype = Map.prototype;
U(mapPrototype, {
getBounds: mapPrototype.te,
mergeAttribute(mapPrototype, {
getBounds: mapPrototype.getBounds,
getCenter: mapPrototype.Bb,
getMapType: mapPrototype.va,
getSize: mapPrototype.Hb,
......@@ -11026,7 +11032,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
getVectorContainer: mapPrototype.hX
});
var Bf = Dd.prototype;
U(Bf, {
mergeAttribute(Bf, {
getTileLayer: Bf.bX,
getMinZoom: Bf.aj,
getMaxZoom: Bf.Xh,
......@@ -11034,24 +11040,24 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
getTextColor: Bf.cm,
getTips: Bf.ss
});
U(window, {
mergeAttribute(window, {
BMAP_NORMAL_MAP: Pa,
BMAP_PERSPECTIVE_MAP: Sa,
BMAP_SATELLITE_MAP: ab,
BMAP_HYBRID_MAP: Va
});
var Cf = S.prototype;
U(Cf, {
mergeAttribute(Cf, {
lngLatToPoint: Cf.qg,
pointToLngLat: Cf.oj
});
var Df = jb.prototype;
U(Df, {
mergeAttribute(Df, {
lngLatToPoint: Df.qg,
pointToLngLat: Df.oj
});
var Ef = hb.prototype;
U(Ef, {
mergeAttribute(Ef, {
equals: Ef.oc,
containsPoint: Ef.Ar,
containsBounds: Ef.LU,
......@@ -11064,14 +11070,14 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
toSpan: Ef.TE
});
var Ff = mc.prototype;
U(Ff, {
mergeAttribute(Ff, {
isVisible: Ff.Nc,
show: Ff.show,
hide: Ff.aa
});
mc.getZIndex = mc.pk;
var Gf = ib.prototype;
U(Gf, {
mergeAttribute(Gf, {
openInfoWindow: Gf.ad,
closeInfoWindow: Gf.Xc,
enableMassClear: Gf.Yi,
......@@ -11083,7 +11089,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
removeContextMenu: Gf.ap
});
var Hf = V.prototype;
U(Hf, {
mergeAttribute(Hf, {
setIcon: Hf.Tb,
getIcon: Hf.Do,
setPosition: Hf.ua,
......@@ -11104,12 +11110,12 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
setRotation: Hf.lp,
getRotation: Hf.CK
});
U(window, {
mergeAttribute(window, {
BMAP_ANIMATION_DROP: 1,
BMAP_ANIMATION_BOUNCE: 2
});
var If = uc.prototype;
U(If, {
mergeAttribute(If, {
setStyle: If.Ld,
setStyles: If.mi,
setContent: If.cd,
......@@ -11123,7 +11129,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
getContent: If.jk
});
var Jf = qc.prototype;
U(Jf, {
mergeAttribute(Jf, {
setImageUrl: Jf.aN,
setSize: Jf.Ae,
setAnchor: Jf.uc,
......@@ -11133,7 +11139,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
setPrintImageUrl: Jf.PZ
});
var Kf = tc.prototype;
U(Kf, {
mergeAttribute(Kf, {
redraw: Kf.he,
setTitle: Kf.Dc,
setContent: Kf.cd,
......@@ -11147,7 +11153,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
enableAutoPan: Kf.Wr
});
var Lf = oc.prototype;
U(Lf, {
mergeAttribute(Lf, {
getPath: Lf.Re,
setPath: Lf.je,
setPositionAt: Lf.Fm,
......@@ -11167,20 +11173,20 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
getEditing: Lf.pW
});
var Mf = Hc.prototype;
U(Mf, {
mergeAttribute(Mf, {
setCenter: Mf.pf,
getCenter: Mf.Bb,
getRadius: Mf.AK,
setRadius: Mf.qf
});
var Nf = Fc.prototype;
U(Nf, {
mergeAttribute(Nf, {
getPath: Nf.Re,
setPath: Nf.je,
setPositionAt: Nf.Fm
});
var Of = kb.prototype;
U(Of, {
mergeAttribute(Of, {
getPosition: Of.ja,
setPosition: Of.ua,
getText: Of.eD,
......@@ -11189,14 +11195,14 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
J.prototype.equals = J.prototype.oc;
R.prototype.equals = R.prototype.oc;
P.prototype.equals = P.prototype.oc;
U(window, {
mergeAttribute(window, {
BMAP_ANCHOR_TOP_LEFT: Wb,
BMAP_ANCHOR_TOP_RIGHT: Xb,
BMAP_ANCHOR_BOTTOM_LEFT: Yb,
BMAP_ANCHOR_BOTTOM_RIGHT: 3
});
var Pf = Ub.prototype;
U(Pf, {
mergeAttribute(Pf, {
setAnchor: Pf.uc,
getAnchor: Pf.HC,
setOffset: Pf.ie,
......@@ -11207,61 +11213,61 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
toString: Pf.toString
});
var Qf = lb.prototype;
U(Qf, {
mergeAttribute(Qf, {
getType: Qf.Ko,
setType: Qf.Gm
});
U(window, {
mergeAttribute(window, {
BMAP_NAVIGATION_CONTROL_LARGE: 0,
BMAP_NAVIGATION_CONTROL_SMALL: 1,
BMAP_NAVIGATION_CONTROL_PAN: 2,
BMAP_NAVIGATION_CONTROL_ZOOM: 3
});
var Rf = nb.prototype;
U(Rf, {
mergeAttribute(Rf, {
changeView: Rf.qe,
setSize: Rf.Ae,
getSize: Rf.Hb
});
var Sf = mb.prototype;
U(Sf, {
mergeAttribute(Sf, {
getUnit: Sf.gX,
setUnit: Sf.BE
});
U(window, {
mergeAttribute(window, {
BMAP_UNIT_METRIC: "metric",
BMAP_UNIT_IMPERIAL: "us"
});
var Tf = $b.prototype;
U(Tf, {
mergeAttribute(Tf, {
addCopyright: Tf.Nv,
removeCopyright: Tf.hE,
getCopyright: Tf.Wl,
getCopyrightCollection: Tf.OC
});
U(window, {
mergeAttribute(window, {
BMAP_MAPTYPE_CONTROL_HORIZONTAL: bc,
BMAP_MAPTYPE_CONTROL_DROPDOWN: 1,
BMAP_MAPTYPE_CONTROL_MAP: 2
});
var Uf = Mc.prototype;
U(Uf, {
mergeAttribute(Uf, {
getMapType: Uf.va,
getCopyright: Uf.Wl,
isTransparentPng: Uf.Ks
});
var Vf = fc.prototype;
U(Vf, {
mergeAttribute(Vf, {
addItem: Vf.Ov,
addSeparator: Vf.hB,
removeSeparator: Vf.jE
});
var Wf = ic.prototype;
U(Wf, {
mergeAttribute(Wf, {
setText: Wf.ut
});
var Xf = X.prototype;
U(Xf, {
mergeAttribute(Xf, {
getStatus: Xf.am,
setSearchCompleteCallback: Xf.ot,
getPageCapacity: Xf.kf,
......@@ -11274,7 +11280,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
searchInBounds: Xf.Bm,
search: Xf.search
});
U(window, {
mergeAttribute(window, {
BMAP_STATUS_SUCCESS: 0,
BMAP_STATUS_CITY_LIST: 1,
BMAP_STATUS_UNKNOWN_LOCATION: Nd,
......@@ -11285,14 +11291,14 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
BMAP_STATUS_SERVICE_UNAVAILABLE: 7,
BMAP_STATUS_TIMEOUT: Pd
});
U(window, {
mergeAttribute(window, {
BMAP_POI_TYPE_NORMAL: 0,
BMAP_POI_TYPE_BUSSTOP: 1,
BMAP_POI_TYPE_BUSLINE: 2,
BMAP_POI_TYPE_SUBSTOP: 3,
BMAP_POI_TYPE_SUBLINE: 4
});
U(window, {
mergeAttribute(window, {
BMAP_TRANSIT_POLICY_RECOMMEND: 0,
BMAP_TRANSIT_POLICY_LEAST_TIME: 4,
BMAP_TRANSIT_POLICY_LEAST_TRANSFER: 1,
......@@ -11306,72 +11312,72 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
BMAP_LINE_TYPE_AIRPLANE: 4,
BMAP_LINE_TYPE_COACH: 5
});
U(window, {
mergeAttribute(window, {
BMAP_TRANSIT_TYPE_POLICY_TRAIN: 0,
BMAP_TRANSIT_TYPE_POLICY_AIRPLANE: 1,
BMAP_TRANSIT_TYPE_POLICY_COACH: 2
});
U(window, {
mergeAttribute(window, {
BMAP_INTERCITY_POLICY_LEAST_TIME: 0,
BMAP_INTERCITY_POLICY_EARLY_START: 1,
BMAP_INTERCITY_POLICY_CHEAP_PRICE: 2
});
U(window, {
mergeAttribute(window, {
BMAP_TRANSIT_TYPE_IN_CITY: 0,
BMAP_TRANSIT_TYPE_CROSS_CITY: 1
});
U(window, {
mergeAttribute(window, {
BMAP_TRANSIT_PLAN_TYPE_ROUTE: 0,
BMAP_TRANSIT_PLAN_TYPE_LINE: 1
});
var Yf = de.prototype;
U(Yf, {
mergeAttribute(Yf, {
clearResults: Yf.Pe
});
fe = ee.prototype;
U(fe, {
mergeAttribute(fe, {
setPolicy: fe.nt,
toString: fe.toString,
setPageCapacity: fe.kp,
setIntercityPolicy: fe.cN,
setTransitTypePolicy: fe.lN
});
U(window, {
mergeAttribute(window, {
BMAP_DRIVING_POLICY_DEFAULT: 0,
BMAP_DRIVING_POLICY_AVOID_HIGHWAYS: 3,
BMAP_DRIVING_POLICY_AVOID_CONGESTION: 5,
BMAP_DRIVING_POLICY_FIRST_HIGHWAYS: 4
});
U(window, {
mergeAttribute(window, {
BMAP_MODE_DRIVING: "driving",
BMAP_MODE_TRANSIT: "transit",
BMAP_MODE_WALKING: "walking",
BMAP_MODE_NAVIGATION: "navigation"
});
var Zf = oe.prototype;
U(Zf, {
mergeAttribute(Zf, {
routeCall: Zf.WM
});
U(window, {
mergeAttribute(window, {
BMAP_HIGHLIGHT_STEP: 1,
BMAP_HIGHLIGHT_ROUTE: 2
});
U(window, {
mergeAttribute(window, {
BMAP_ROUTE_TYPE_DRIVING: Rd,
BMAP_ROUTE_TYPE_WALKING: Qd,
BMAP_ROUTE_TYPE_RIDING: Sd
});
U(window, {
mergeAttribute(window, {
BMAP_ROUTE_STATUS_NORMAL: Td,
BMAP_ROUTE_STATUS_EMPTY: 1,
BMAP_ROUTE_STATUS_ADDRESS: 2
});
var $f = he.prototype;
U($f, {
mergeAttribute($f, {
setPolicy: $f.nt
});
var ag = xe.prototype;
U(ag, {
mergeAttribute(ag, {
show: ag.show,
hide: ag.aa,
setTypes: ag.AE,
......@@ -11379,25 +11385,25 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
search: ag.search,
setInputValue: ag.Px
});
U(pb.prototype, {});
mergeAttribute(pb.prototype, {});
var cg = ve.prototype;
U(cg, {
mergeAttribute(cg, {
get: cg.get
});
U(dc.prototype, {});
U(window, {
mergeAttribute(dc.prototype, {});
mergeAttribute(window, {
BMAP_POINT_DENSITY_HIGH: 200,
BMAP_POINT_DENSITY_MEDIUM: Xc,
BMAP_POINT_DENSITY_LOW: 50
});
U(window, {
mergeAttribute(window, {
BMAP_POINT_SHAPE_STAR: 1,
BMAP_POINT_SHAPE_WATERDROP: 2,
BMAP_POINT_SHAPE_CIRCLE: wc,
BMAP_POINT_SHAPE_SQUARE: 4,
BMAP_POINT_SHAPE_RHOMBUS: 5
});
U(window, {
mergeAttribute(window, {
BMAP_POINT_SIZE_TINY: 1,
BMAP_POINT_SIZE_SMALLER: 2,
BMAP_POINT_SIZE_SMALL: 3,
......@@ -11406,7 +11412,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
BMAP_POINT_SIZE_BIGGER: 6,
BMAP_POINT_SIZE_HUGE: 7
});
U(window, {
mergeAttribute(window, {
BMap_Symbol_SHAPE_CAMERA: 11,
BMap_Symbol_SHAPE_WARNING: 12,
BMap_Symbol_SHAPE_SMILE: 13,
......@@ -11422,11 +11428,11 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
BMap_Symbol_SHAPE_BACKWARD_OPEN_ARROW: 7,
BMap_Symbol_SHAPE_FORWARD_OPEN_ARROW: 8
});
U(window, {
mergeAttribute(window, {
BMAP_CONTEXT_MENU_ICON_ZOOMIN: gc,
BMAP_CONTEXT_MENU_ICON_ZOOMOUT: hc
});
U(window, {
mergeAttribute(window, {
BMAP_SYS_DRAWER: Na,
BMAP_SVG_DRAWER: 1,
BMAP_VML_DRAWER: 2,
......
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