百度地图Map属性和方法

map的L属性:TANGRAM__1

map的F属性:[object Object]

map的xa属性:[object HTMLDivElement]

map的width属性:1340

map的height属性:0

map的offsetX属性:0

map的offsetY属性:0

map的platform属性:[object HTMLDivElement]

map的Bd属性:[object HTMLDivElement]

map的Gc属性:[object Object]

map的De属性:[object Object]

map的Lb属性:[object Object]

map的la属性:1

map的Zb属性:0

map的ks属性:null

map的js属性:null

map的zb属性:

map的Zr属性:

map的ff属性:[object Object]

map的ya属性:0

map的Q属性:[object Panorama]

map的vb属性:[object Object]

map的Pc属性:[object Object]

map的D属性:[object Object]

map的Dd属性:[object HTMLDivElement]

map的ea属性:[object Object]

map的Xc属性:

map的Mf属性:[object Object]

map的qb属性:[object Object]

map 的tl属性:function (){var b=a.Bb();if(a.width!=b.width||a.height!=b.height){var c=new K(a.width,a.height),d=new L("onbeforeresize");d.size=c;a.dispatchEvent(d);a.Ig((b.width-a.width)/2,(b.height-a.height)/2);a.Bd.style.width=(a.width=b.width)+"px";a.Bd.style.height=(a.height=b.height)+"px";c=new L("onresize");c.size=b;a.dispatchEvent(c);b=parseInt(a.platform.style.left)||0;c=parseInt(a.platform.style.top)||0;0!=a.ya&&(a.offsetX!=b|| a.offsetY!=c)&&a.bd(b,c)}}

map的Pr属性:

map的ro属性:中国

map的cF属性:1

map 的constructor属性:function qa(a, b) { if (a = t.R(a)) { var c = this; t.lang.ua.call(c); b = b || {}; c.F = { ds: 200, Ab: i, Jo: o, Ds: i, Nl: o, Pl: o, Gs: i, Ol: i, Ho: i, fd: 25, SJ: 240, AE: 450, jb: C.jb, kc: C.kc, ap: !!b.ap, mc: b.minZoom || 1, jd: b.maxZoom || 18, vb: b.mapType || ra, ML: o, Io: o, ws: 500, OK: b.enableHighResolution !== o, Ko: b.enableMapClick !== o, devicePixelRatio: b.devicePixelRatio || window.devicePixelRatio || 1, Pu: b.vectorMapLevel || 12, lc: b.mapStyle || n, TE: ["chrome"] }; c.F.lc && (this.Yy(c.F.lc.controls), this.Zy(c.F.lc.geotableId)); c.F.lc && c.F.lc.styleId && c.My(c.F.lc.styleId); c.F.qf = { dark: { backColor: "#2D2D2D", textColor: "#bfbfbf", iconUrl: "dicons" }, normal: { backColor: "#F3F1EC", textColor: "#c61b1b", iconUrl: "icons" }, light: { backColor: "#EBF8FC", textColor: "#017fb4", iconUrl: "licons"} }; b.enableAutoResize && (c.F.Ho = b.enableAutoResize); t.platform.Tj && 1.5 < window.devicePixelRatio && (c.F.devicePixelRatio = 1.5); for (var d = c.F.TE, e = 0, f = d.length; e < f; e++) if (t.M[d[e]]) { c.F.devicePixelRatio = 1; break } c.xa = a; c.Fr(a); a.unselectable = "on"; a.innerHTML = ""; a.appendChild(c.ta()); b.size && this.Cc(b.size); d = c.Bb(); c.width = d.width; c.height = d.height; c.offsetX = 0; c.offsetY = 0; c.platform = a.firstChild; c.Bd = c.platform.firstChild; c.Bd.style.width = c.width + "px"; c.Bd.style.height = c.height + "px"; c.Gc = {}; c.De = new F(0, 0); c.Lb = new F(0, 0); c.la = 1; c.Zb = 0; c.ks = n; c.js = n; c.zb = ""; c.Zr = ""; c.ff = {}; c.ff.custom = {}; c.ya = 0; c.Q = new sa(a, { Fj: "api" }); c.Q.H(); c.Q.vu(c); b = b || {}; d = c.vb = c.F.vb; c.Pc = d.Ai(); d === ta && va(5002); (d === wa || d === xa) && va(5003); d = c.F; d.LA = b.minZoom; d.KA = b.maxZoom; c.mq(); c.D = { Cb: o, hb: 0, jm: 0, qz: 0, qL: 0, Xr: o, ju: -1, sd: [] }; c.platform.style.cursor = c.F.jb; for (e = 0; e < B.ll.length; e++) B.ll[e](c); c.D.ju = e; c.N(); G.load("map", function () { c.Tb() }); c.F.Ko && (setTimeout(function () { va("load_mapclick") }, 1E3), G.load("mapclick", function () { window.MPC_Mgr = new ya(c) }, i)); za() && G.load("oppc", function () { c.gq() }); H() && G.load("opmb", function () { c.gq() }); a = n; c.Pr = [] } }

map的GB属性:Map

map的ta属 性:function () { var a = J("div"), b = a.style; b.overflow = "visible"; b.position = "absolute"; b.zIndex = "0"; b.top = b.left = "0px"; var b = J("div", { "class": "BMap_mask" }), c = b.style; c.position = "absolute"; c.top = c.left = "0px"; c.zIndex = "9"; c.overflow = "hidden"; c.WebkitUserSelect = "none"; a.appendChild(b); return a }

map 的Fr属性:function (a) { var b = a.style; b.overflow = "hidden"; "absolute" != Aa(a).position && (b.position = "relative", b.zIndex = 0); b.backgroundColor = "#F3F1EC"; b.color = "#000"; b.textAlign = "left" }

map 的N属性:function (){var a=this;a.tl=function(){var b=a.Bb();if(a.width!=b.width||a.height!=b.height){var c=new K(a.width,a.height),d=new L("onbeforeresize");d.size=c;a.dispatchEvent(d);a.Ig((b.width-a.width)/2,(b.height-a.height)/2);a.Bd.style.width=(a.width=b.width)+"px";a.Bd.style.height=(a.height=b.height)+"px";c=new L("onresize");c.size=b;a.dispatchEvent(c);b=parseInt(a.platform.style.left)||0;c=parseInt(a.platform.style.top)||0;0!=a.ya&&(a.offsetX!=b|| a.offsetY!=c)&&a.bd(b,c)}};H()||(t.C(a.Bd,"mouseover",function(b){db(b);a.dispatchEvent(new L("onmouseover"))}),t.C(a.Bd,"mouseout",function(b){db(b);a.dispatchEvent(new L("onmouseout"))}))}

map的Ig属性:function (a, b, c, d) { var e = this.ha().Gb(this.U()), f = this.Pc, g = i; c && F.bz(c) && (this.De = new F(c.lng, c.lat), g = o); if (c = c && d ? f.Ii(c, this.zb) : this.Lb) if (this.Lb = new F(c.lng + a * e, c.lat - b * e), (a = f.eh(this.Lb, this.zb)) && g) this.De = a }

map 的We属性:function (a, b) { if (Ba(a) && (a = this.jj(a).zoom, a != this.la)) { this.Zb = this.la; this.la = a; var c; b ? c = b : this.Je() && (c = this.Je().ba()); c && (c = this.kb(c, this.Zb), this.Ig(this.width / 2 - c.x, this.height / 2 - c.y, this.Sa(c, this.Zb), i)); this.dispatchEvent(new L("onzoomstart")); this.dispatchEvent(new L("onzoomstartcode")) } }

map的Ed属性:function (a) { this.We(a) }

map的Qu属性:function (a) { this.We(this.la + 1, a) }

map的Ru属性:function (a) { this.We(this.la - 1, a) }

map 的qe属性:function (a,b){if(a instanceof F){var c=this.kb(a),d=Math.round(this.width/2),e=Math.round(this.height/2),b=b||{};Math.abs(d-c.x)>this.width||Math.abs(e-c.y)>this.height||b.noAnimation?this.Cw(d-c.x,e-c.y,a):this.Lh(d-c.x,e-c.y,{duration:b.duration})}}

map 的pe属性:function (a,b,c){a=Math.round(a)||0;b=Math.round(b)||0;c=c||{}; Math.abs(a)<=this.width&&Math.abs(b)<=this.height&&!c.noAnimation?this.Lh(a,b):this.Cw(a,b)}

map的ho属性:function (a) { a && Ca(a.Ld) && (a.Ld(this), this.dispatchEvent(new L("onaddcontrol", a))) }

map的$z属性:function (a) { a && Ca(a.remove) && (a.remove(), this.dispatchEvent(new L("onremovecontrol", a))) }

map的zj属性:function (a) { a && Ca(a.sa) && (a.sa(this), this.dispatchEvent(new L("onaddcontextmenu", a))) }

map的ck属性:function (a) { a && Ca(a.remove) && (this.dispatchEvent(new L("onremovecontextmenu", a)), a.remove()) }

map的Ua属性:function (a) { a && Ca(a.Ld) && (a.Ld(this), this.dispatchEvent(new L("onaddoverlay", a))) }

map的Qc属性:function (a) { a && Ca(a.remove) && (a.remove(), this.dispatchEvent(new L("onremoveoverlay", a))) }

map的Mx属性:function () { this.dispatchEvent(new L("onclearoverlays")) }

map的of属性:function (a) { a && this.dispatchEvent(new L("onaddtilelayer", a)) }

map的Ff属性:function (a) { a && this.dispatchEvent(new L("onremovetilelayer", a)) }

map 的pg属性:function (a) { if (this.vb !== a) { var b = new L("onsetmaptype"); b.HL = this.vb; this.vb = this.F.vb = a; this.Pc = this.vb.Ai(); this.Ig(0, 0, this.Ga(), i); this.mq(); var c = this.jj(this.U()).zoom; this.We(c); this.dispatchEvent(b); b = new L("onmaptypechange"); b.la = c; b.vb = a; this.dispatchEvent(b); (a === wa || a === xa) && va(5003) } }

map的re属性:function (a) { var b = this; if (a instanceof F) b.qe(a, { noAnimation: i }); else if (Da(a)) if (b.vb == ta) { var c = C.as[a]; c && (pt = c.k, b.re(pt)) } else { var d = this.bw(); d.xu(function (c) { 0 == d.Bi() && 2 == d.ma.result.type && (b.re(c.Vg(0).point), ta.Hj(a) && b.uu(a)) }); d.search(a, { log: "center" }) } }

map的Rd属性:function (a, b) { var c = this; if (Da(a)) if (c.vb == ta) { var d = C.as[a]; d && (pt = d.k, c.Rd(pt, b)) } else { var e = c.bw(); e.xu(function (d) { if (0 == e.Bi() && 2 == e.ma.result.type) { var d = d.Vg(0).point, f = b || N.Ss(e.ma.content.level, c); c.Rd(d, f); ta.Hj(a) && c.uu(a) } }); e.search(a, { log: "center" }) } else if (a instanceof F && b) { b = c.jj(b).zoom; c.Zb = c.la || b; c.la = b; c.De = new F(a.lng, a.lat); c.Lb = c.Pc.Ii(c.De, c.zb); c.ks = c.ks || c.la; c.js = c.js || c.De; var d = new L("onload"), f = new L("onloadcode"); d.point = new F(a.lng, a.lat); d.pixel = c.kb(c.De, c.la); d.zoom = b; c.loaded || (c.loaded = i, c.dispatchEvent(d), oa || (oa = Ea())); c.dispatchEvent(f); c.dispatchEvent(new L("onmoveend")); c.Zb != c.la && c.dispatchEvent(new L("onzoomend")) } }

map的bw属性:function () { this.D.vz || (this.D.vz = new Fa(1)); return this.D.vz }

map的reset属性:function () { this.Rd(this.js, this.ks, i) }

map的enableDragging属性:function () { this.F.Ab = i }

map的disableDragging属性:function () { this.F.Ab = o }

map的enableInertialDragging属性:function () { this.F.Io = i }

map的disableInertialDragging属性:function () { this.F.Io = o }

map的enableScrollWheelZoom属性:function () { this.F.Pl = i }

map的disableScrollWheelZoom属性:function () { this.F.Pl = o }

map的enableContinuousZoom属性:function () { this.F.Nl = i }

map的disableContinuousZoom属性:function () { this.F.Nl = o }

map的enableDoubleClickZoom属性:function () { this.F.Ds = i }

map的disableDoubleClickZoom属性:function () { this.F.Ds = o }

map的enableKeyboard属性:function () { this.F.Jo = i }

map的disableKeyboard属性:function () { this.F.Jo = o }

map的enablePinchToZoom属性:function () { this.F.Ol = i }

map的disablePinchToZoom属性:function () { this.F.Ol = o }

map的enableAutoResize属性:function () { this.F.Ho = i; this.tl(); this.D.wl || (this.D.wl = setInterval(this.tl, 80)) }

map的disableAutoResize属性:function () { this.F.Ho = o; this.D.wl && (clearInterval(this.D.wl), this.D.wl = n) }

map 的Bb属性:function () { return this.Gl && this.Gl instanceof K ? new K(this.Gl.width, this.Gl.height) : new K(this.xa.clientWidth, this.xa.clientHeight) }

map的Cc属性:function (a) { a && a instanceof K ? (this.Gl = a, this.xa.style.width = a.width + "px", this.xa.style.height = a.height + "px") : this.Gl = n }

map的Ga属性:function () { return this[a] }

map的U属性:function () { return this[a] }

map的hF属性:function () { this.tl() }

map 的jj属性:function (a) { var b = this.F.mc, c = this.F.jd, d = o; a < b && (d = i, a = b); a > c && (d = i, a = c); return { zoom: a, Ms: d} }

map的Ba属性:function () { return this[a] }

map的kb属性:function (a, b) { b = b || this.U(); return this.Pc.kb(a, b, this.Lb, this.Bb(), this.zb) }

map的Sa属性:function (a, b) { b = b || this.U(); return this.Pc.Sa(a, b, this.Lb, this.Bb(), this.zb) }

map 的Qe属性:function (a, b) { if (a) { var c = this.kb(new F(a.lng, a.lat), b); c.x -= this.offsetX; c.y -= this.offsetY; return c } }

map的Sz属性:function (a, b) { if (a) { var c = new O(a.x, a.y); c.x += this.offsetX; c.y += this.offsetY; return this.Sa(c, b) } }

map的pointToPixelFor3D属性:function (a, b) { var c = map.zb; this.vb == ta && c && Ha.Rx(a, this, b) }

map的CL属性:function (a, b) { var c = map.zb; this.vb == ta && c && Ha.Qx(a, this, b) }

map 的DL属性:function (a, b) { var c = this, d = map.zb; c.vb == ta && d && Ha.Rx(a, c, function (a) { a.x -= c.offsetX; a.y -= c.offsetY; b && b(a) }) }

map的BL属性:function (a, b) { var c = map.zb; this.vb == ta && c && (a.x += this.offsetX, a.y += this.offsetY, Ha.Qx(a, this, b)) }

map的ig属性:function (a) { if (!this.It()) return new Ia; var b = a || {}, a = b.margins || [0, 0, 0, 0], c = b.zoom || n, b = this.Sa({ x: a[3], y: this.height - a[2] }, c), a = this.Sa({ x: this.width - a[1], y: a[0] }, c); return new Ia(b, a) }

map的It属性:function () { return !!this.loaded }

map的zC属 性:function (a, b) { for (var c = this.ha(), d = b.margins || [10, 10, 10, 10], e = b.zoomFactor || 0, f = d[1] + d[3], d = d[0] + d[2], g = c.Jj(), j = c = c.xi(); j >= g; j--) { var k = this.ha().Gb(j); if (a.Lu().lng / k < this.width - f && a.Lu().lat / k < this.height - d) break } j += e; j < g && (j = g); j > c && (j = c); return j }

map的Xo属性:function (a, b) { var c = { center: this.Ga(), zoom: this.U() }; if (!a || !a instanceof Ia && 0 == a.length || a instanceof Ia && a.mg()) return c; var d = []; a instanceof Ia ? (d.push(a.ke()), d.push(a.le())) : d = a.slice(0); for (var b = b || {}, e = [], f = 0, g = d.length; f < g; f++) e.push(this.Pc.Ii(d[f], this.zb)); d = new Ia; for (f = e.length - 1; 0 <= f; f--) d.extend(e[f]); if (d.mg()) return c; c = d.Ga(); e = this.zC(d, b); b.margins && (d = b.margins, f = (d[1] - d[3]) / 2, d = (d[0] - d[2]) / 2, g = this.ha().Gb(e), b.offset && (f = b.offset.width, d = b.offset.height), c.lng += g * f, c.lat += g * d); c = this.Pc.eh(c, this.zb); return { center: c, zoom: e} }

map的kk属 性:function (a, b) { var c; c = a && a.center ? a : this.Xo(a, b); var b = b || {}, d = b.delay || 200; if (c.zoom == this.la && b.enableAnimation != o) { var e = this; setTimeout(function () { e.qe(c.center, { duration: 210 }) }, d) } else this.Rd(c.center, c.zoom) }

map的Le属性:function () { return this[a] }

map的Je属性:function () { return this.D.Ja && this.D.Ja.za() ? this.D.Ja : n }

map的getDistance属性:function (a, b) { if (a && b) { var c = 0, c = P.Xs(a, b); if (c == n || c == aa) c = 0; return c } }

map 的jt属性:function () { var a = [], b = this.ea, c = this.Xc; if (b) for (var d in b) b[d] instanceof Q && a.push(b[d]); if (c) { d = 0; for (b = c.length; d < b; d++) a.push(c[d]) } return a }

map的ha属性:function () { return this[a] }

map的gq属性:function () { for (var a = this.D.ju; a < B.ll.length; a++) B.ll[a](this); this.D.ju = a }

map 的uu属性:function (a) { this.zb = ta.Hj(a); this.Zr = ta.uG(this.zb); this.vb == ta && this.Pc instanceof Ja && (this.Pc.fs = this.zb) }

map的setDefaultCursor属性:function (a) { this.F.jb = a; this.platform && (this.platform.style.cursor = this.F.jb) }

map的getDefaultCursor属性:function () { return this.F.jb }

map的setDraggingCursor属性:function (a) { this.F.kc = a }

map的getDraggingCursor属性:function () { return this.F.kc }

map的$g属性:function () { return a }

map 的ko属性:function (a, b) { b ? this.ff[b] || (this.ff[b] = {}) : b = "custom"; a.tag = b; a instanceof Ka && (this.ff[b][a.L] = a, a.sa(this)); var c = this; G.load("hotspot", function () { c.gq() }) }

map的rI属性:function (a, b) { b || (b = "custom"); this.ff[b][a.L] && delete this.ff[b][a.L] }

map的di属性:function (a) { a || (a = "custom"); this.ff[a] = {} }

map 的mq属性:function () { var a = this.$g() ? this.vb.m.mH : this.vb.Jj(), b = this.$g() ? this.vb.m.lH : this.vb.xi(), c = this.F; c.mc = c.LA || a; c.jd = c.KA || b; c.mc < a && (c.mc = a); c.jd > b && (c.jd = b) }

map的setMinZoom属性:function (a) { a > this.F.jd && (a = this.F.jd); this.F.LA = a; this.gx() }

map的setMaxZoom属性:function (a) { a < this.F.mc && (a = this.F.mc); this.F.KA = a; this.gx() }

map 的gx属性:function () { this.mq(); var a = this.F; this.la < a.mc ? this.Ed(a.mc) : this.la > a.jd && this.Ed(a.jd); var b = new L("onzoomspanchange"); b.mc = a.mc; b.jd = a.jd; this.dispatchEvent(b) }

map的iL属性:function () { return this[a] }

map的getKey属性:function () { return la }

map 的jA属性:function (a) { if (a && (a.styleId ? this.My(a.styleId) : (this.F.lc = a, this.dispatchEvent(new L("onsetcustomstyles", a)), this.Yy(a.controls), this.Zy(this.F.lc.geotableId)), a.style)) a = this.F.qf[a.style] ? this.F.qf[a.style].backColor : this.F.qf.normal.backColor, this.Ba().style.backgroundColor = a }

map 的My属性:function (a) { var b = this; La("http://api.map.baidu.com/style/poi/personalize?method=get&ak=" + la + "&id=" + a, function (a) { if (a && a.content && 0 < a.content.length) { var a = a.content[0], d = {}; a.features && 0 < a.features.length && (d.features = a.features); a.controllers && 0 < a.controllers.length && (d.controls = a.controllers); a.style && "" != a.style && (d.style = a.style); a.geotable_id && "" != a.geotable_id && (d.geotableId = a.geotable_id); setTimeout(function () { b.jA(d) }, 200) } }) }

map的Yy属性:function (a) { this.controls || (this.controls = { navigationControl: new Ma, scaleControl: new Na, overviewMapControl: new Oa, mapTypeControl: new Pa }); var b = this, c; for (c in this.controls) b.$z(b.controls[c]); a = a || []; t.hc.Sd(a, function (a) { b.ho(b.controls[a]) }) }

map的Zy属 性:function (a) { a ? this.El && this.El.be == a || (this.Ff(this.El), this.El = new Qa({ geotableId: a }), this.of(this.El)) : this.Ff(this.El) }

map的Dc属性:function () { var a = this.U() >= this.F.Pu && this.ha() == ra && 18 >= this.U(), b = o; try { document.createElement("canvas").getContext("2d"), b = i } catch (c) { b = o } return a && b }

map的getPanorama属性:function () { return this[a] }

map的setPanorama属性:function (a) { this.Q = a; this.Q.vu(this) }

map 的Mb属性:function (a, b) { if (a instanceof Jb && b instanceof F) { var c = this.D; c.Ji ? c.Ji.ga(b) : (c.Ji = new S(b, { icon: new Ib(C.ca + "blank.gif", { width: 1, height: 1 }), offset: new K(0, 0), clickable: o }), c.Ji.rC = 1); this.Ua(c.Ji); c.Ji.Mb(a) } }

map的Xb属性:function () { var a = this.D.Ja || this.D.Ch; a && a.Ka && a.Ka.Xb() }

map 的getBounds属性:function (a) { if (!this.It()) return new Ia; var b = a || {}, a = b.margins || [0, 0, 0, 0], c = b.zoom || n, b = this.Sa({ x: a[3], y: this.height - a[2] }, c), a = this.Sa({ x: this.width - a[1], y: a[0] }, c); return new Ia(b, a) }

map的getCenter属性:function () { return this[a] }

map的getMapType属性:function () { return this[a] }

map 的getSize属性:function () { return this.Gl && this.Gl instanceof K ? new K(this.Gl.width, this.Gl.height) : new K(this.xa.clientWidth, this.xa.clientHeight) }

map的setSize属性:function (a) { a && a instanceof K ? (this.Gl = a, this.xa.style.width = a.width + "px", this.xa.style.height = a.height + "px") : this.Gl = n }

map的 getViewport属性:function (a, b) { var c = { center: this.Ga(), zoom: this.U() }; if (!a || !a instanceof Ia && 0 == a.length || a instanceof Ia && a.mg()) return c; var d = []; a instanceof Ia ? (d.push(a.ke()), d.push(a.le())) : d = a.slice(0); for (var b = b || {}, e = [], f = 0, g = d.length; f < g; f++) e.push(this.Pc.Ii(d[f], this.zb)); d = new Ia; for (f = e.length - 1; 0 <= f; f--) d.extend(e[f]); if (d.mg()) return c; c = d.Ga(); e = this.zC(d, b); b.margins && (d = b.margins, f = (d[1] - d[3]) / 2, d = (d[0] - d[2]) / 2, g = this.ha().Gb(e), b.offset && (f = b.offset.width, d = b.offset.height), c.lng += g * f, c.lat += g * d); c = this.Pc.eh(c, this.zb); return { center: c, zoom: e} }

map的getZoom属性:function () { return this[a] }

map 的centerAndZoom属性:function (a, b) { var c = this; if (Da(a)) if (c.vb == ta) { var d = C.as[a]; d && (pt = d.k, c.Rd(pt, b)) } else { var e = c.bw(); e.xu(function (d) { if (0 == e.Bi() && 2 == e.ma.result.type) { var d = d.Vg(0).point, f = b || N.Ss(e.ma.content.level, c); c.Rd(d, f); ta.Hj(a) && c.uu(a) } }); e.search(a, { log: "center" }) } else if (a instanceof F && b) { b = c.jj(b).zoom; c.Zb = c.la || b; c.la = b; c.De = new F(a.lng, a.lat); c.Lb = c.Pc.Ii(c.De, c.zb); c.ks = c.ks || c.la; c.js = c.js || c.De; var d = new L("onload"), f = new L("onloadcode"); d.point = new F(a.lng, a.lat); d.pixel = c.kb(c.De, c.la); d.zoom = b; c.loaded || (c.loaded = i, c.dispatchEvent(d), oa || (oa = Ea())); c.dispatchEvent(f); c.dispatchEvent(new L("onmoveend")); c.Zb != c.la && c.dispatchEvent(new L("onzoomend")) } }

map的panTo属 性:function (a,b){if(a instanceof F){var c=this.kb(a),d=Math.round(this.width/2),e=Math.round(this.height/2),b=b||{};Math.abs(d-c.x)>this.width||Math.abs(e-c.y)>this.height||b.noAnimation?this.Cw(d-c.x,e-c.y,a):this.Lh(d-c.x,e-c.y,{duration:b.duration})}}

map 的panBy属性:function (a,b,c){a=Math.round(a)||0;b=Math.round(b)||0;c=c||{}; Math.abs(a)<=this.width&&Math.abs(b)<=this.height&&!c.noAnimation?this.Lh(a,b):this.Cw(a,b)}

map 的setCenter属性:function (a) { var b = this; if (a instanceof F) b.qe(a, { noAnimation: i }); else if (Da(a)) if (b.vb == ta) { var c = C.as[a]; c && (pt = c.k, b.re(pt)) } else { var d = this.bw(); d.xu(function (c) { 0 == d.Bi() && 2 == d.ma.result.type && (b.re(c.Vg(0).point), ta.Hj(a) && b.uu(a)) }); d.search(a, { log: "center" }) } }

map的setCurrentCity属性:function (a) { this.zb = ta.Hj(a); this.Zr = ta.uG(this.zb); this.vb == ta && this.Pc instanceof Ja && (this.Pc.fs = this.zb) }

map 的setMapType属性:function (a) { if (this.vb !== a) { var b = new L("onsetmaptype"); b.HL = this.vb; this.vb = this.F.vb = a; this.Pc = this.vb.Ai(); this.Ig(0, 0, this.Ga(), i); this.mq(); var c = this.jj(this.U()).zoom; this.We(c); this.dispatchEvent(b); b = new L("onmaptypechange"); b.la = c; b.vb = a; this.dispatchEvent(b); (a === wa || a === xa) && va(5003) } }

map的setViewport属性:function (a, b) { var c; c = a && a.center ? a : this.Xo(a, b); var b = b || {}, d = b.delay || 200; if (c.zoom == this.la && b.enableAnimation != o) { var e = this; setTimeout(function () { e.qe(c.center, { duration: 210 }) }, d) } else this.Rd(c.center, c.zoom) }

map的setZoom属性:function (a) { this.We(a) }

map的highResolutionEnabled属性:function () { return a }

map 的zoomTo属性:function (a, b) { if (Ba(a) && (a = this.jj(a).zoom, a != this.la)) { this.Zb = this.la; this.la = a; var c; b ? c = b : this.Je() && (c = this.Je().ba()); c && (c = this.kb(c, this.Zb), this.Ig(this.width / 2 - c.x, this.height / 2 - c.y, this.Sa(c, this.Zb), i)); this.dispatchEvent(new L("onzoomstart")); this.dispatchEvent(new L("onzoomstartcode")) } }

map的zoomIn属性:function (a) { this.We(this.la + 1, a) }

map的zoomOut属性:function (a) { this.We(this.la - 1, a) }

map 的addHotspot属性:function (a, b) { b ? this.ff[b] || (this.ff[b] = {}) : b = "custom"; a.tag = b; a instanceof Ka && (this.ff[b][a.L] = a, a.sa(this)); var c = this; G.load("hotspot", function () { c.gq() }) }

map的removeHotspot属性:function (a, b) { b || (b = "custom"); this.ff[b][a.L] && delete this.ff[b][a.L] }

map的clearHotspots属性:function (a) { a || (a = "custom"); this.ff[a] = {} }

map的checkResize属性:function () { this.tl() }

map的addControl属性:function (a) { a && Ca(a.Ld) && (a.Ld(this), this.dispatchEvent(new L("onaddcontrol", a))) }

map 的removeControl属性:function (a) { a && Ca(a.remove) && (a.remove(), this.dispatchEvent(new L("onremovecontrol", a))) }

map的getContainer属性:function () { return this[a] }

map 的addContextMenu属性:function (a) { a && Ca(a.sa) && (a.sa(this), this.dispatchEvent(new L("onaddcontextmenu", a))) }

map 的removeContextMenu属性:function (a) { a && Ca(a.remove) && (this.dispatchEvent(new L("onremovecontextmenu", a)), a.remove()) }

map的addOverlay属性:function (a) { a && Ca(a.Ld) && (a.Ld(this), this.dispatchEvent(new L("onaddoverlay", a))) }

map 的removeOverlay属性:function (a) { a && Ca(a.remove) && (a.remove(), this.dispatchEvent(new L("onremoveoverlay", a))) }

map的clearOverlays属性:function () { this.dispatchEvent(new L("onclearoverlays")) }

map 的openInfoWindow属性:function (a, b) { if (a instanceof Jb && b instanceof F) { var c = this.D; c.Ji ? c.Ji.ga(b) : (c.Ji = new S(b, { icon: new Ib(C.ca + "blank.gif", { width: 1, height: 1 }), offset: new K(0, 0), clickable: o }), c.Ji.rC = 1); this.Ua(c.Ji); c.Ji.Mb(a) } }

map的closeInfoWindow属性:function () { var a = this.D.Ja || this.D.Ch; a && a.Ka && a.Ka.Xb() }

map 的pointToOverlayPixel属性:function (a, b) { if (a) { var c = this.kb(new F(a.lng, a.lat), b); c.x -= this.offsetX; c.y -= this.offsetY; return c } }

map的overlayPixelToPoint属性:function (a, b) { if (a) { var c = new O(a.x, a.y); c.x += this.offsetX; c.y += this.offsetY; return this.Sa(c, b) } }

map的getInfoWindow属性:function () { return this.D.Ja && this.D.Ja.za() ? this.D.Ja : n }

map 的getOverlays属性:function () { var a = [], b = this.ea, c = this.Xc; if (b) for (var d in b) b[d] instanceof Q && a.push(b[d]); if (c) { d = 0; for (b = c.length; d < b; d++) a.push(c[d]) } return a }

map 的getPanes属性:function () { return { floatPane: this.Gc.Os, markerMouseTarget: this.Gc.Qt, floatShadow: this.Gc.ty, labelPane: this.Gc.pz, markerPane: this.Gc.Az, markerShadow: this.Gc.Bz, mapPane: this.Gc.gp} }

map的addTileLayer属性:function (a) { a && this.dispatchEvent(new L("onaddtilelayer", a)) }

map的removeTileLayer属性:function (a) { a && this.dispatchEvent(new L("onremovetilelayer", a)) }

map的pixelToPoint属性:function (a, b) { b = b || this.U(); return this.Pc.Sa(a, b, this.Lb, this.Bb(), this.zb) }

map的pointToPixel属性:function (a, b) { b = b || this.U(); return this.Pc.kb(a, b, this.Lb, this.Bb(), this.zb) }

map的setFeatureStyle属性:undefined

map的selectBaseElement属性:undefined

map 的setMapStyle属性:function (a) { if (a && (a.styleId ? this.My(a.styleId) : (this.F.lc = a, this.dispatchEvent(new L("onsetcustomstyles", a)), this.Yy(a.controls), this.Zy(this.F.lc.geotableId)), a.style)) a = this.F.qf[a.style] ? this.F.qf[a.style].backColor : this.F.qf.normal.backColor, this.Ba().style.backgroundColor = a }

map的Tb属性:function (){this.N()}

map 的bd属性:function (a,b,c,d){!isNaN(a)&&!isNaN(b)&&!(this.offsetX==a&&this.offsetY==b)&&(this.Ig(this.offsetX-a,this.offsetY-b,c),a=Math.round(a),b=Math.round(b),this.offsetX=a,this.offsetY=b,this.platform.style.left=a+"px",this.platform.style.top=b+"px",this.Bd.style.left=-a+"px",this.Bd.style.top=-b+"px",d!=o&&this.dispatchEvent(new L("onmoving")))}

map的Cw属性:function (a,b,c){var d=this.D;d.Cb!=i&&(d.Yb&&d.Yb.stop(),this.dispatchEvent(new L("onmovestart")),this.bd(this.offsetX+a,this.offsetY+b,c),this.dispatchEvent(new L("onmoveend")))}

map的Lh属性:function (a,b,c){if(this.D.Cb!=i){c=c||{};this.dispatchEvent(new L("onmovestart"));var d=this,e=d.D;e.sp=d.offsetX;e.k=d.offsetY;e.Ku&&e.Ku.cancel();e.Yb&&e.Yb.stop();e.Ku=new Va({fd:c.fd||d.F.fd,duration:c.duration||d.F.AE,Wd:c.Wd||Wa.ky,ta:function(c){(this.Fu=d.D.Cb)||d.bd(e.sp+Math.ceil(a*c),e.k+Math.ceil(b*c))},finish:function(){d.dispatchEvent(new L("onmoveend"));d.D.Ku=o;d.D.Hf==i&&(d.D.Hf=o,0!=d.D.hb&& d.Ea())}})}}

map的$G属性:function (a,b){var c=this.ha();if("object"!=typeof c)return n;c=256*c.Gb(b);a=P.ob(a);return{zp:parseInt(a.lng/c),wo:parseInt(a.lat/c),yf:b}}

map 的Ea属性:function (){if(!this.Ea.mp||!(this.Ea.$q==this.D.hb&&this.D.Hf==i)){var a=this,c=a.D.hb;a.Ea.$q=c;a.Ea.Ft=30;a.Ea.duration=999;a.Ea.ud=a.Ea.vd=0;c&1&&(a.Ea.ud=1);c&2&&(a.Ea.vd=1);c&4&&(a.Ea.ud=-1);c&8&&(a.Ea.vd=-1);c&1&&c&4&&(a.Ea.ud=0);c&2&&c&8&&(a.Ea.vd=0);if(!a.Ea.mp){a.Ea.mp=i;a.Ea.time=Ea();a.Ea.VE=a.Ea.time;a.dispatchEvent(new L("onmovestart"));var d=new Va({fd:a.Ea.Ft,duration:a.Ea.duration,Wd:Wa.tz,ta:function(){var c=a.Ea,f=a.D.hb;if(a.Ea.$q!=f){a.Ea.$q= f;if(f&1)c.ud=1;if(f&2)c.vd=1;if(f&4)c.ud=-1;if(f&8)c.vd=-1;if(f&1&&f&4)c.ud=0;if(f&2&&f&8)c.vd=0}if(a.D.Hf==i){c.ud=0;c.vd=0}var f=Ea(),g=Math.pow((f-c.VE)/c.duration,2);if(!a.D.hb){c.mp=o;d.Fu=i;a.Ea.time=Ea();setTimeout(function(){a.dispatchEvent(new L("onmoveend"))},40)}var j=f-c.time,k=c.ud*j*g>=0?Math.ceil(c.ud*j*g):Math.floor(c.ud*j*g),g=c.vd*j*g>=0?Math.ceil(c.vd*j*g):Math.floor(c.vd*j*g);if(k!=0&&g!=0){k=Math.round(k*0.7);g=Math.round(g*0.7)}c.time=f;a.bd(a.offsetX+k,a.offsetY+g)},finish:function(){a.Ea.time= Ea();setTimeout(function(){a.wv()},a.Ea.Ft)}})}}}

map的wv属 性:function (){var a=this,c=a.Ea;a.D.Hf&&(c.ud=0,c.vd=0);if(a.D.hb){var d=Ea(),e=d-c.time,f=Math.ceil(c.ud*e),e=Math.ceil(c.vd*e);c.time=d;a.bd(a.offsetX+f,a.offsetY+e);setTimeout(function(){a.wv()},c.Ft)}else c.mp=o,a.dispatchEvent(new L("onmoveend"))}

map的rf属性:function () { return ea[a].apply(this, arguments) }

map的toString属性:function () { return "[object " + (this.GB || "Object") + "]" }

map 的addEventListener属性:function (a, b, c) { if (t.lang.fm(b)) { !this.Mf && (this.Mf = {}); var d = this.Mf, e; if (typeof c == "string" && c) { if (/[^\w\-]/.test(c)) throw "nonstandard key:" + c; e = b.Qy = c } a.indexOf("on") != 0 && (a = "on" + a); typeof d[a] != "object" && (d[a] = {}); e = e || t.lang.L(); b.Qy = e; d[a][e] = b } }

map的removeEventListener属性:function (a, b) { if (t.lang.fm(b)) b = b.Qy; else if (!t.lang.me(b)) return; !this.Mf && (this.Mf = {}); a.indexOf("on") != 0 && (a = "on" + a); var c = this.Mf; c[a] && c[a][b] && delete c[a][b] }

map 的dispatchEvent属性:function (a, b) { t.lang.me(a) && (a = new t.lang.Tp(a)); !this.Mf && (this.Mf = {}); var b = b || {}, c; for (c in b) a[c] = b[c]; var d = this.Mf, e = a.type; a.target = a.target || this; a.currentTarget = this; e.indexOf("on") != 0 && (e = "on" + e); t.lang.fm(this[e]) && this[e].apply(this, arguments); if (typeof d[e] == "object") for (c in d[e]) d[e][c].apply(this, arguments); return a.returnValue }

 
posted @ 2013-10-07 10:54  正定聚  阅读(5840)  评论(0编辑  收藏  举报