Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
supervise-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
牛晓林
supervise-front
Commits
728f25b6
Commit
728f25b6
authored
Aug 08, 2019
by
niuxiaolin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
latest
parent
d8e765c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
128 additions
and
128 deletions
+128
-128
getscript.js
src/assets/getscript.js
+128
-128
No files found.
src/assets/getscript.js
View file @
728f25b6
...
...
@@ -682,7 +682,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
;
BMap
.
UT
=
BMap
.
apiLoad
||
u
();
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
(
typeof
map
!==
"undefined"
)
{
map
.
Ua
().
innerHTML
=
""
;
...
...
@@ -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
;
var
sa
=
window
.
BMap_loadScriptTime
,
ta
=
(
new
Date
).
getTime
()
...
...
@@ -838,7 +838,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
_this
.
W
.
xE
(
_this
);
opts
=
opts
||
{};
e
=
_this
.
Db
=
_this
.
U
.
Db
;
_this
.
Pc
=
e
.
nk
();
_this
.
Pc
=
e
.
getProjection
();
e
===
Sa
&&
Ta
(
za
);
e
===
Va
&&
Ta
(
Aa
);
e
=
_this
.
U
;
...
...
@@ -932,7 +932,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
a
.
U
.
Xr
&&
(
a
.
$
.
Jl
=
setInterval
(
a
.
Sn
,
80
))
},
Wj
:
function
(
a
,
b
,
c
,
e
)
{
var
f
=
this
.
va
().
dc
(
this
.
ka
())
var
f
=
this
.
va
().
dc
(
this
.
getZoom
())
,
g
=
this
.
Pc
,
i
=
p
;
c
&&
J
.
iL
(
c
)
&&
(
this
.
pe
=
new
J
(
c
.
lng
,
c
.
lat
),
...
...
@@ -942,7 +942,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
(
a
=
g
.
eh
(
this
.
fc
,
this
.
Vb
))
&&
i
)
this
.
pe
=
a
},
yg
:
function
(
a
,
b
)
{
zoomTo
:
function
(
a
,
b
)
{
if
(
Za
(
a
)
&&
(
this
.
ru
(),
this
.
dispatchEvent
(
new
Q
(
"onzoomstart"
)),
a
=
this
.
tn
(
a
).
zoom
,
...
...
@@ -950,20 +950,20 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this
.
Bc
=
this
.
Va
;
this
.
Va
=
a
;
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
),
this
.
Wj
(
this
.
width
/
2
-
c
.
x
,
this
.
height
/
2
-
c
.
y
,
this
.
Ib
(
c
,
this
.
Bc
),
p
));
this
.
dispatchEvent
(
new
Q
(
"onzoomstartcode"
))
}
},
setZoom
:
function
(
a
)
{
this
.
yg
(
a
)
this
.
zoomTo
(
a
)
},
hF
:
function
(
a
)
{
this
.
yg
(
this
.
Va
+
1
,
a
)
zoomIn
:
function
(
a
)
{
this
.
zoomTo
(
this
.
Va
+
1
,
a
)
},
iF
:
function
(
a
)
{
this
.
yg
(
this
.
Va
-
1
,
a
)
zoomOut
:
function
(
a
)
{
this
.
zoomTo
(
this
.
Va
-
1
,
a
)
},
panTo
:
function
(
a
)
{
a
instanceof
J
&&
(
this
.
fc
=
this
.
Pc
.
bi
(
a
,
this
.
Vb
),
...
...
@@ -974,37 +974,37 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
b
=
Math
.
round
(
b
)
||
0
;
this
.
Wj
(
-
a
,
-
b
)
},
Mv
:
function
(
a
)
{
addControl
:
function
(
a
)
{
a
&&
$a
(
a
.
Fe
)
&&
(
a
.
Fe
(
this
),
this
.
dispatchEvent
(
new
Q
(
"onaddcontrol"
,
a
)))
},
KM
:
function
(
a
)
{
removeControl
:
function
(
a
)
{
a
&&
$a
(
a
.
remove
)
&&
(
a
.
remove
(),
this
.
dispatchEvent
(
new
Q
(
"onremovecontrol"
,
a
)))
},
Wn
:
function
(
a
)
{
addContextMenu
:
function
(
a
)
{
a
&&
$a
(
a
.
xa
)
&&
(
a
.
xa
(
this
),
this
.
dispatchEvent
(
new
Q
(
"onaddcontextmenu"
,
a
)))
},
ap
:
function
(
a
)
{
removeContextMenu
:
function
(
a
)
{
a
&&
$a
(
a
.
remove
)
&&
(
this
.
dispatchEvent
(
new
Q
(
"onremovecontextmenu"
,
a
)),
a
.
remove
())
},
Pa
:
function
(
a
)
{
addOverlay
:
function
(
a
)
{
a
&&
$a
(
a
.
Fe
)
&&
(
a
.
Fe
(
this
),
this
.
dispatchEvent
(
new
Q
(
"onaddoverlay"
,
a
)))
},
Sb
:
function
(
a
)
{
removeOverlay
:
function
(
a
)
{
a
&&
$a
(
a
.
remove
)
&&
(
a
.
remove
(),
this
.
dispatchEvent
(
new
Q
(
"onremoveoverlay"
,
a
)))
},
lJ
:
function
()
{
clearOverlays
:
function
()
{
this
.
dispatchEvent
(
new
Q
(
"onclearoverlays"
))
},
Me
:
function
(
a
)
{
addTileLayer
:
function
(
a
)
{
a
&&
this
.
dispatchEvent
(
new
Q
(
"onaddtilelayer"
,
a
))
},
Tf
:
function
(
a
)
{
removeTileLayer
:
function
(
a
)
{
a
&&
this
.
dispatchEvent
(
new
Q
(
"onremovetilelayer"
,
a
))
},
setMapType
:
function
(
a
)
{
...
...
@@ -1027,7 +1027,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
},
setCenter
:
function
(
a
)
{
var
b
=
this
;
if
(
a
instanceof
J
)
if
(
a
instanceof
Point
)
b
.
ji
(
a
,
{
noAnimation
:
p
});
...
...
@@ -1159,14 +1159,14 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this
.
$
.
Jl
&&
(
clearInterval
(
this
.
$
.
Jl
),
this
.
$
.
Jl
=
s
)
},
ro
:
function
()
{
enable3DBuilding
:
function
()
{
this
.
U
.
ro
=
p
;
this
.
bn
||
(
this
.
bn
=
new
BuildingLayer
({
e2
:
p
}),
this
.
Me
(
this
.
bn
))
},
lV
:
function
()
{
disable3DBuilding
:
function
()
{
this
.
U
.
ro
=
t
;
this
.
bn
&&
(
this
.
Tf
(
this
.
bn
),
this
.
bn
=
s
,
...
...
@@ -1182,7 +1182,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
},
getCenter
:
x
(
"pe"
),
getZoom
:
x
(
"Va"
),
zU
:
function
()
{
checkResize
:
function
()
{
this
.
Sn
()
},
tn
:
function
(
a
)
{
...
...
@@ -1200,15 +1200,15 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}
},
Ua
:
x
(
"Ya"
),
Rb
:
function
(
a
,
b
)
{
pointToPixel
:
function
(
a
,
b
)
{
b
=
b
||
this
.
ka
();
return
this
.
Pc
.
Rb
(
a
,
b
,
this
.
fc
,
this
.
Hb
(),
this
.
Vb
)
},
Ib
:
function
(
a
,
b
)
{
pixelToPoint
:
function
(
a
,
b
)
{
b
=
b
||
this
.
ka
();
return
this
.
Pc
.
Ib
(
a
,
b
,
this
.
fc
,
this
.
Hb
(),
this
.
Vb
)
},
Ve
:
function
(
a
,
b
)
{
pointToOverlayPixel
:
function
(
a
,
b
)
{
if
(
a
)
{
var
c
=
this
.
Rb
(
new
J
(
a
.
lng
,
a
.
lat
),
b
);
c
.
x
-=
this
.
offsetX
;
...
...
@@ -1216,7 +1216,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
return
c
}
},
tM
:
function
(
a
,
b
)
{
overlayPixelToPoint
:
function
(
a
,
b
)
{
if
(
a
)
{
var
c
=
new
R
(
a
.
x
,
a
.
y
);
c
.
x
+=
this
.
offsetX
;
...
...
@@ -1326,7 +1326,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this
.
Ed
(
c
.
center
,
c
.
zoom
)
},
Mf
:
x
(
"Wd"
),
$g
:
function
()
{
getInfoWindow
:
function
()
{
return
this
.
$
.
rb
&&
this
.
$
.
rb
.
Za
()
?
this
.
$
.
rb
:
s
},
getDistance
:
function
(
a
,
b
)
{
...
...
@@ -1340,7 +1340,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
return
c
}
},
Mw
:
function
()
{
getOverlays
:
function
()
{
var
a
=
[]
,
b
=
this
.
Ba
,
c
=
this
.
Ce
;
...
...
@@ -1382,7 +1382,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
highResolutionEnabled
:
function
()
{
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"
;
a
.
tag
=
b
;
a
instanceof
kb
&&
(
this
.
Ah
[
b
][
a
.
ea
]
=
a
,
...
...
@@ -1392,17 +1392,17 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
c
.
hu
()
},
p
)
},
bZ
:
function
(
a
,
b
)
{
removeHotspot
:
function
(
a
,
b
)
{
b
||
(
b
=
"custom"
);
this
.
Ah
[
b
][
a
.
ea
]
&&
delete
this
.
Ah
[
b
][
a
.
ea
]
},
bw
:
function
(
a
)
{
clearHotspots
:
function
(
a
)
{
a
||
(
a
=
"custom"
);
this
.
Ah
[
a
]
=
{}
},
ru
:
function
()
{
var
a
=
this
.
Db
.
aj
()
,
b
=
this
.
Db
.
Xh
()
var
a
=
this
.
Db
.
getMinZoom
()
,
b
=
this
.
Db
.
getMaxZoom
()
,
c
=
this
.
U
;
c
.
gc
=
c
.
VN
||
a
;
c
.
pc
=
c
.
UN
||
b
;
...
...
@@ -1437,7 +1437,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
setMapStyleV2
:
function
(
a
)
{
function
b
(
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
)));
pa
(
b
)
}
...
...
@@ -1453,7 +1453,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this
.
U
.
customEditor
=
!!
a
.
customEditor
;
this
.
U
.
M4
=
!!
a
.
sharing
;
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
()
{
c
.
hu
()
},
p
);
...
...
@@ -1464,13 +1464,13 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
var
e
=
this
.
getZoom
()
,
f
=
{};
z
.
extend
(
f
,
a
);
window
.
cb
=
function
(
a
)
{
if
(
0
===
a
.
status
)
{
3
===
a
.
data
.
style
.
length
?
(
window
.
bmap_baseFs
||
(
window
.
bmap_baseFs
=
a
.
data
.
style
),
window
.
Kp
=
a
.
data
.
style
[
2
])
:
window
.
Kp
=
a
.
data
.
style
;
a
=
window
.
bmap_baseFs
;
window
.
cb
=
function
(
response
)
{
if
(
0
===
response
.
status
)
{
3
===
response
.
data
.
style
.
length
?
(
window
.
bmap_baseFs
||
(
window
.
bmap_baseFs
=
response
.
data
.
style
),
window
.
Kp
=
response
.
data
.
style
[
2
])
:
window
.
Kp
=
response
.
data
.
style
;
response
=
window
.
bmap_baseFs
;
if
(
z
.
km
(
window
.
qh
))
window
.
j0
=
a
,
window
.
j0
=
response
,
c
.
ZE
(
e
);
else
{
c
.
RN
(
window
.
Kp
,
e
);
...
...
@@ -1479,7 +1479,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
for
(
b
in
a
)
{
var
g
=
{};
z
.
extend
(
g
,
f
);
c
.
MW
(
b
,
g
)
c
.
loadCustomStyle
(
b
,
g
)
}
}
c
.
onupdatestylesOroninitindoorlayer
()
...
...
@@ -1512,7 +1512,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
var
g
=
"/apiconsole/custommap/"
;
switch
(
b
)
{
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
+=
"&callback=_cbk_si_phpui"
+
f
;
break
;
...
...
@@ -1599,10 +1599,10 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
})
})
},
hX
:
function
()
{
getVectorContainer
:
function
()
{
return
this
.
oh
.
Hg
},
MW
:
function
(
a
,
b
)
{
loadCustomStyle
:
function
(
a
,
b
)
{
var
c
=
this
,
e
=
(
1
E5
*
Math
.
random
()).
toFixed
(
0
);
window
[
"_cbk"
+
e
]
=
function
(
b
)
{
...
...
@@ -1614,12 +1614,12 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
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&"
;
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
)
},
tE
:
function
(
a
,
b
)
{
setBMapCopyrightOffset
:
function
(
a
,
b
)
{
var
c
=
new
Q
(
"oncopyrightoffsetchange"
,{
fY
:
a
,
UU
:
b
...
...
@@ -1627,7 +1627,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this
.
U
.
vJ
=
b
;
this
.
dispatchEvent
(
c
)
},
kt
:
function
(
a
)
{
setMapStyle
:
function
(
a
)
{
var
b
=
this
;
window
.
MPC_Mgr
&&
window
.
MPC_Mgr
[
b
.
ea
]
&&
window
.
MPC_Mgr
[
b
.
ea
].
close
();
b
.
U
.
oC
=
t
;
...
...
@@ -1881,12 +1881,12 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
RN
:
function
(
style
,
b
)
{
window
.
Tt
[
b
]
=
style
;
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
)
},
ZE
:
function
(
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
.
La
[
b
].
bmapLandColor
=
window
.
La
[
a
].
bmapLandColor
,
window
.
La
[
b
].
bmapRailwayFillColor
=
window
.
La
[
a
].
bmapRailwayFillColor
,
...
...
@@ -1942,7 +1942,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
var
f
=
function
(
a
)
{
a
&&
(
qb
=
p
,
setTimeout
(
function
()
{
rb
.
src
=
BMap
.
Cd
+
"images/blank.gif?"
+
a
.
src
rb
.
src
=
BMap
.
cdnUrl
+
"images/blank.gif?"
+
a
.
src
},
50
))
}
,
g
=
function
()
{
...
...
@@ -2035,14 +2035,14 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
BMap
.
Nt
=
window
.
HOST_TYPE
||
"0"
;
BMap
.
url
=
BMap
.
I_
[
BMap
.
Nt
];
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
.
Ri
=
BMap
.
url
.
proto
+
BMap
.
url
.
domain
.
main_domain_cdn
.
webmap
[
0
]
+
"/"
;
BMap
.
Yh
=
function
(
a
,
b
)
{
var
c
,
e
,
b
=
b
||
""
;
switch
(
a
)
{
case
"main_domain_nocdn"
:
c
=
BMap
.
Cd
+
b
;
c
=
BMap
.
cdnUrl
+
b
;
break
;
case
"main_domain_cdn"
:
c
=
BMap
.
oa
+
b
;
...
...
@@ -4073,21 +4073,21 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this
.
Vd
=
b
.
lat
)
}
z
.
object
.
extend
(
hb
.
prototype
,
{
lj
:
function
()
{
isEmpty
:
function
()
{
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
())
},
Se
:
x
(
"Al"
),
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
},
Bb
:
function
()
{
getCenter
:
function
()
{
return
this
.
lj
()
?
s
:
new
J
((
this
.
Le
+
this
.
Ge
)
/
2
,(
this
.
Xd
+
this
.
Vd
)
/
2
)
},
D
s
:
function
(
a
)
{
intersect
s
:
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
))
return
s
;
var
b
=
Math
.
max
(
this
.
Le
,
a
.
Le
)
...
...
@@ -4096,7 +4096,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
,
a
=
Math
.
min
(
this
.
Vd
,
a
.
Vd
);
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
},
extend
:
function
(
a
)
{
...
...
@@ -4115,7 +4115,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
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
))
}
});
...
...
@@ -4276,14 +4276,14 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
bi
:
function
(
a
)
{
return
S
.
Gb
(
a
)
},
qg
:
function
(
a
)
{
lngLatToPoint
:
function
(
a
)
{
a
=
S
.
Gb
(
a
);
return
new
R
(
a
.
lng
,
a
.
lat
)
},
eh
:
function
(
a
)
{
return
S
.
cc
(
a
)
},
oj
:
function
(
a
)
{
pointToLngLat
:
function
(
a
)
{
a
=
new
J
(
a
.
x
,
a
.
y
);
return
S
.
cc
(
a
)
},
...
...
@@ -4963,7 +4963,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
return
this
.
K
.
Da
}
});
Map
.
prototype
.
ad
=
function
(
a
,
b
)
{
Map
.
prototype
.
openInfoWindow
=
function
(
a
,
b
)
{
if
(
a
instanceof
tc
&&
b
instanceof
J
)
{
var
c
=
this
.
$
;
c
.
nm
?
c
.
nm
.
ua
(
b
)
:
(
c
.
nm
=
new
V
(
b
,{
...
...
@@ -4980,7 +4980,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}
}
;
Map
.
prototype
.
Xc
=
function
()
{
Map
.
prototype
.
closeInfoWindow
=
function
()
{
var
a
=
this
.
$
.
rb
||
this
.
$
.
cl
;
a
&&
a
.
sb
&&
a
.
sb
.
Xc
()
}
...
...
@@ -6192,7 +6192,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
b
=
b
||
{});
b
.
geotableId
&&
(
c
.
xf
=
b
.
geotableId
);
b
.
databoxId
&&
(
c
.
hn
=
b
.
databoxId
);
var
f
=
BMap
.
Cd
+
"geosearch"
;
var
f
=
BMap
.
cdnUrl
+
"geosearch"
;
c
.
$a
=
{
AM
:
b
.
pointDensity
||
Xc
,
rX
:
f
+
"/detail/"
,
...
...
@@ -7706,15 +7706,15 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
;
fa
.
To
=
function
(
a
)
{
this
.
Fr
=
[];
var
b
=
this
.
M
,
c
=
b
.
ka
()
var
b
=
this
.
map
,
c
=
b
.
getZoom
()
,
e
=
b
.
Pc
.
bi
(
b
.
pe
)
,
f
=
this
.
Bd
.
dc
(
c
)
,
e
=
[
Math
.
round
(
-
e
.
lng
/
f
),
Math
.
round
(
e
.
lat
/
f
)]
,
f
=
this
.
Bd
.
Id
(
c
)
,
g
=
b
.
ea
.
replace
(
/^TANGRAM_/
,
""
)
,
i
=
this
.
Bd
.
gs
(
c
)
,
b
=
this
.
M
,
b
=
this
.
map
,
k
=
-
b
.
offsetY
+
b
.
height
/
2
,
m
=
this
.
Rn
;
m
.
style
.
left
=
-
b
.
offsetX
+
b
.
width
/
2
+
"px"
;
...
...
@@ -7820,7 +7820,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}
else
{
this
.
Ls
=
o
.
length
;
this
.
ex
=
t
;
c
=
this
.
Bd
.
gs
(
this
.
M
.
ka
());
c
=
this
.
Bd
.
gs
(
this
.
map
.
getZoom
());
for
(
e
=
0
;
e
<
a
.
length
;
e
++
)
a
[
e
][
3
]
=
c
;
for
(
e
=
0
;
e
<
o
.
length
;
e
++
)
...
...
@@ -7846,7 +7846,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
RM
:
0
};
var
k
=
a
,
m
=
k
.
M
,
m
=
k
.
map
,
n
=
[]
,
n
=
"0"
===
BMap
.
Nt
?
k
.
$a
.
zN
.
http
:
k
.
$a
.
zN
.
https
,
o
=
Math
.
abs
(
b
+
c
)
%
n
.
length
...
...
@@ -7862,7 +7862,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
clearTimeout
(
i
[
g
].
Ik
);
i
[
g
]
=
s
;
if
(
a
)
{
var
n
=
m
.
ka
(),
o
;
var
n
=
m
.
getZoom
(),
o
;
a
:
{
for
(
o
=
0
;
o
<
k
.
ow
.
length
;
o
++
)
{
var
q
=
k
.
ow
[
o
];
...
...
@@ -7945,7 +7945,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}
}
fa
.
jo
=
function
()
{
var
a
=
this
.
M
.
Hb
()
var
a
=
this
.
map
.
getSize
()
,
b
=
this
.
Vc
;
this
.
Qo
.
clearRect
(
0
,
0
,
a
.
width
*
b
,
a
.
height
*
b
)
}
...
...
@@ -8038,7 +8038,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
if
(
this
.
or
[
b
])
return
this
.
or
[
b
];
var
c
=
this
.
M
,
e
=
c
.
ka
()
,
e
=
c
.
getZoom
()
,
f
=
c
.
fc
,
g
=
a
.
XC
(
e
);
c
.
ea
.
replace
(
/^TANGRAM_/
,
""
);
...
...
@@ -8103,32 +8103,32 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}
z
.
extend
(
Dd
.
prototype
,
{
getName
:
x
(
"jd"
),
s
s
:
function
()
{
getTip
s
:
function
()
{
return
this
.
m
.
r_
},
H2
:
function
()
{
return
this
.
m
.
KD
},
bX
:
function
()
{
getTileLayer
:
function
()
{
return
this
.
$e
[
0
]
},
V2
:
x
(
"$e"
),
Id
:
function
()
{
return
this
.
m
.
dy
},
aj
:
function
()
{
getMinZoom
:
function
()
{
return
this
.
m
.
gc
},
Xh
:
function
()
{
getMaxZoom
:
function
()
{
return
this
.
m
.
pc
},
setMaxZoom
:
function
(
a
)
{
this
.
m
.
pc
=
a
},
cm
:
function
()
{
getTextColor
:
function
()
{
return
this
.
m
.
OE
},
nk
:
function
()
{
getProjection
:
function
()
{
return
this
.
m
.
Pc
},
A2
:
function
()
{
...
...
@@ -8304,7 +8304,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
am
:
x
(
"Ke"
)
});
var
Md
=
{
GF
:
BMap
.
Cd
,
GF
:
BMap
.
cdnUrl
,
nb
:
function
(
a
,
b
,
c
,
e
,
f
)
{
this
.
YY
(
b
);
var
g
=
(
1
E5
*
Math
.
random
()).
toFixed
(
0
);
...
...
@@ -8316,7 +8316,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
;
e
=
e
||
""
;
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"
;
f
||
(
e
+=
"&res=api"
);
e
=
e
+
(
"&callback=BMap._rd._cbk"
+
g
)
+
(
"&ak="
+
qa
);
...
...
@@ -10983,29 +10983,29 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
setCurrentCity
:
mapPrototype
.
setCurrentCity
,
setMapType
:
mapPrototype
.
setMapType
,
setViewport
:
mapPrototype
.
setViewport
,
setZoom
:
mapPrototype
.
Qc
,
setZoom
:
mapPrototype
.
setZoom
,
highResolutionEnabled
:
mapPrototype
.
highResolutionEnabled
,
zoomTo
:
mapPrototype
.
yg
,
zoomIn
:
mapPrototype
.
hF
,
zoomOut
:
mapPrototype
.
iF
,
addHotspot
:
mapPrototype
.
eB
,
removeHotspot
:
mapPrototype
.
bZ
,
clearHotspots
:
mapPrototype
.
bw
,
checkResize
:
mapPrototype
.
zU
,
addControl
:
mapPrototype
.
Mv
,
removeControl
:
mapPrototype
.
KM
,
zoomTo
:
mapPrototype
.
zoomTo
,
zoomIn
:
mapPrototype
.
zoomIn
,
zoomOut
:
mapPrototype
.
zoomOut
,
addHotspot
:
mapPrototype
.
addHotspot
,
removeHotspot
:
mapPrototype
.
removeHotspot
,
clearHotspots
:
mapPrototype
.
clearHotspots
,
checkResize
:
mapPrototype
.
checkResize
,
addControl
:
mapPrototype
.
addControl
,
removeControl
:
mapPrototype
.
removeControl
,
getContainer
:
mapPrototype
.
Ua
,
addContextMenu
:
mapPrototype
.
Wn
,
removeContextMenu
:
mapPrototype
.
ap
,
addOverlay
:
mapPrototype
.
Pa
,
removeOverlay
:
mapPrototype
.
Sb
,
clearOverlays
:
mapPrototype
.
lJ
,
openInfoWindow
:
mapPrototype
.
ad
,
closeInfoWindow
:
mapPrototype
.
Xc
,
pointToOverlayPixel
:
mapPrototype
.
Ve
,
overlayPixelToPoint
:
mapPrototype
.
tM
,
getInfoWindow
:
mapPrototype
.
$g
,
getOverlays
:
mapPrototype
.
Mw
,
addContextMenu
:
mapPrototype
.
addContextMenu
,
removeContextMenu
:
mapPrototype
.
removeContextMenu
,
addOverlay
:
mapPrototype
.
addOverlay
,
removeOverlay
:
mapPrototype
.
removeOverlay
,
clearOverlays
:
mapPrototype
.
clearOverlays
,
openInfoWindow
:
mapPrototype
.
openInfoWindow
,
closeInfoWindow
:
mapPrototype
.
closeInfoWindow
,
pointToOverlayPixel
:
mapPrototype
.
pointToOverlayPixel
,
overlayPixelToPoint
:
mapPrototype
.
overlayPixelToPoint
,
getInfoWindow
:
mapPrototype
.
getInfoWindow
,
getOverlays
:
mapPrototype
.
getOverlays
,
getPanes
:
function
()
{
return
{
floatPane
:
this
.
Wd
.
BC
,
...
...
@@ -11018,30 +11018,30 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
vertexPane
:
this
.
Wd
.
$N
}
},
addTileLayer
:
mapPrototype
.
Me
,
removeTileLayer
:
mapPrototype
.
Tf
,
addTileLayer
:
mapPrototype
.
addTileLayer
,
removeTileLayer
:
mapPrototype
.
removeTileLayer
,
pixelToPoint
:
mapPrototype
.
Ib
,
pointToPixel
:
mapPrototype
.
Rb
,
setFeatureStyle
:
mapPrototype
.
J4
,
selectBaseElement
:
mapPrototype
.
C4
,
setMapStyle
:
mapPrototype
.
kt
,
enable3DBuilding
:
mapPrototype
.
ro
,
disable3DBuilding
:
mapPrototype
.
lV
,
setMapStyle
:
mapPrototype
.
setMapStyle
,
enable3DBuilding
:
mapPrototype
.
enable3DBuilding
,
disable3DBuilding
:
mapPrototype
.
disable3DBuilding
,
getPanorama
:
mapPrototype
.
getPanorama
,
initIndoorLayer
:
mapPrototype
.
initIndoorLayer
,
setNormalMapDisplay
:
mapPrototype
.
setNormalMapDisplay
,
setMapStyleV2
:
mapPrototype
.
setMapStyleV2
,
setBMapCopyrightOffset
:
mapPrototype
.
tE
,
getVectorContainer
:
mapPrototype
.
hX
setBMapCopyrightOffset
:
mapPrototype
.
setBMapCopyrightOffset
,
getVectorContainer
:
mapPrototype
.
getVectorContainer
});
var
Bf
=
Dd
.
prototype
;
mergeAttribute
(
Bf
,
{
getTileLayer
:
Bf
.
bX
,
getMinZoom
:
Bf
.
aj
,
getMaxZoom
:
Bf
.
Xh
,
getProjection
:
Bf
.
nk
,
getTextColor
:
Bf
.
cm
,
getTips
:
Bf
.
s
s
getTileLayer
:
Bf
.
getTileLayer
,
getMinZoom
:
Bf
.
getMinZoom
,
getMaxZoom
:
Bf
.
getMaxZoom
,
getProjection
:
Bf
.
getProjection
,
getTextColor
:
Bf
.
getTextColor
,
getTips
:
Bf
.
getTip
s
});
mergeAttribute
(
window
,
{
BMAP_NORMAL_MAP
:
Pa
,
...
...
@@ -11051,26 +11051,26 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
});
var
Cf
=
S
.
prototype
;
mergeAttribute
(
Cf
,
{
lngLatToPoint
:
Cf
.
qg
,
pointToLngLat
:
Cf
.
oj
lngLatToPoint
:
Cf
.
lngLatToPoint
,
pointToLngLat
:
Cf
.
pointToLngLat
});
var
Df
=
jb
.
prototype
;
mergeAttribute
(
Df
,
{
lngLatToPoint
:
Df
.
qg
,
pointToLngLat
:
Df
.
oj
lngLatToPoint
:
Df
.
lngLatToPoint
,
pointToLngLat
:
Df
.
pointToLngLat
});
var
Ef
=
hb
.
prototype
;
mergeAttribute
(
Ef
,
{
equals
:
Ef
.
oc
,
containsPoint
:
Ef
.
Ar
,
containsBounds
:
Ef
.
LU
,
intersects
:
Ef
.
D
s
,
equals
:
Ef
.
equals
,
containsPoint
:
Ef
.
containsPoint
,
containsBounds
:
Ef
.
containsBounds
,
intersects
:
Ef
.
intersect
s
,
extend
:
Ef
.
extend
,
getCenter
:
Ef
.
Bb
,
isEmpty
:
Ef
.
lj
,
getCenter
:
Ef
.
getCenter
,
isEmpty
:
Ef
.
isEmpty
,
getSouthWest
:
Ef
.
Se
,
getNorthEast
:
Ef
.
Lf
,
toSpan
:
Ef
.
TE
toSpan
:
Ef
.
toSpan
});
var
Ff
=
mc
.
prototype
;
mergeAttribute
(
Ff
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment