Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
70c24448
A
apollo
项目概览
Pinoxchio
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
70c24448
编写于
10月 08, 2019
作者:
V
vlin17
提交者:
Xiangquan Xiao
10月 08, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
webpack
上级
b7d86921
变更
14
展开全部
隐藏空白更改
内联
并排
Showing
14 changed file
with
131 addition
and
53 deletion
+131
-53
modules/dreamview/frontend/dist/2.bundle.js
modules/dreamview/frontend/dist/2.bundle.js
+1
-1
modules/dreamview/frontend/dist/2.bundle.js.map
modules/dreamview/frontend/dist/2.bundle.js.map
+1
-1
modules/dreamview/frontend/dist/3.bundle.js
modules/dreamview/frontend/dist/3.bundle.js
+1
-1
modules/dreamview/frontend/dist/3.bundle.js.map
modules/dreamview/frontend/dist/3.bundle.js.map
+1
-1
modules/dreamview/frontend/dist/4.bundle.js
modules/dreamview/frontend/dist/4.bundle.js
+1
-1
modules/dreamview/frontend/dist/4.bundle.js.map
modules/dreamview/frontend/dist/4.bundle.js.map
+1
-1
modules/dreamview/frontend/dist/app.bundle.js
modules/dreamview/frontend/dist/app.bundle.js
+9
-9
modules/dreamview/frontend/dist/app.bundle.js.map
modules/dreamview/frontend/dist/app.bundle.js.map
+1
-1
modules/dreamview/frontend/dist/fonts/droid/README.txt
modules/dreamview/frontend/dist/fonts/droid/README.txt
+2
-2
modules/dreamview/frontend/dist/parameters.bundle.js
modules/dreamview/frontend/dist/parameters.bundle.js
+1
-1
modules/dreamview/frontend/dist/parameters.bundle.js.map
modules/dreamview/frontend/dist/parameters.bundle.js.map
+1
-1
modules/dreamview/frontend/dist/worker.bundle.js
modules/dreamview/frontend/dist/worker.bundle.js
+1
-1
modules/dreamview/frontend/dist/worker.bundle.js.map
modules/dreamview/frontend/dist/worker.bundle.js.map
+1
-1
modules/dreamview/frontend/proto_bundle/sim_world_proto_bundle.json
...eamview/frontend/proto_bundle/sim_world_proto_bundle.json
+109
-31
未找到文件。
modules/dreamview/frontend/dist/2.bundle.js
浏览文件 @
70c24448
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
2
],{
4
69
:
function
(
e
,
t
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
p
(
a
(
4
)),
i
=
p
(
a
(
1
)),
l
=
p
(
a
(
2
)),
o
=
p
(
a
(
5
)),
r
=
p
(
a
(
6
)),
d
=
p
(
a
(
0
)),
u
=
p
(
a
(
470
)),
c
=
p
(
a
(
102
)),
f
=
p
(
a
(
18
)),
s
=
p
(
a
(
471
));
function
p
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
m
=
function
(
e
){
function
t
(
e
){(
0
,
i
.
default
)(
this
,
t
);
var
a
=
(
0
,
o
.
default
)(
this
,(
t
.
__proto__
||
(
0
,
n
.
default
)(
t
)).
call
(
this
,
e
));
return
a
.
state
=
{
routingView
:
!
1
},
a
.
onClickHandler
=
a
.
onClickHandler
.
bind
(
a
),
a
.
scriptOnLoadHandler
=
a
.
scriptOnLoadHandler
.
bind
(
a
),
a
}
return
(
0
,
r
.
default
)(
t
,
e
),(
0
,
l
.
default
)(
t
,[{
key
:
"
onClickHandler
"
,
value
:
function
(){
var
e
=!
this
.
state
.
routingView
;
e
?
c
.
default
.
enableControls
():
c
.
default
.
disableControls
(),
this
.
setState
({
routingView
:
e
})}},{
key
:
"
componentDidMount
"
,
value
:
function
(){
c
.
default
.
mapAPILoaded
&&
this
.
scriptOnLoadHandler
()}},{
key
:
"
scriptOnLoadHandler
"
,
value
:
function
(){
a
(
472
)(
"
./
"
+
PARAMETERS
.
navigation
.
map
+
"
Adapter
"
).
then
((
function
(
e
){
var
t
=
new
(
0
,
e
.
default
);
c
.
default
.
mapAPILoaded
=!
0
,
c
.
default
.
initialize
(
f
.
default
,
t
),
c
.
default
.
disableControls
()}))}},{
key
:
"
componentWillUnmount
"
,
value
:
function
(){
c
.
default
.
reset
()}},{
key
:
"
render
"
,
value
:
function
(){
var
e
=
this
.
props
,
t
=
e
.
viewHeight
,
a
=
e
.
viewWidth
;
if
(
"
GoogleMap
"
!==
PARAMETERS
.
navigation
.
map
&&
"
BaiduMap
"
!==
PARAMETERS
.
navigation
.
map
)
return
console
.
error
(
"
Map API
"
+
PARAMETERS
.
navigation
.
map
+
"
is not supported.
"
),
null
;
if
(
!
c
.
default
.
mapAPILoaded
){
var
n
=
function
(){
console
.
log
(
"
Map API script loaded.
"
)};
"
BaiduMap
"
===
PARAMETERS
.
navigation
.
map
?
window
.
initMap
=
this
.
scriptOnLoadHandler
:
"
GoogleMap
"
===
PARAMETERS
.
navigation
.
map
&&
(
n
=
this
.
scriptOnLoadHandler
),(
0
,
s
.
default
)({
url
:
PARAMETERS
.
navigation
.
mapAPiUrl
,
onLoad
:
n
,
onError
:
function
(){
console
.
log
(
"
Failed to load map api
"
)}})}
var
i
=
0
,
l
=
0
,
o
=
a
,
r
=
t
,
f
=
"
maximizing
"
;
return
this
.
state
.
routingView
||
(
i
=
10
,
l
=
20
,
o
=
Math
.
min
(.
3
*
a
,
250
),
r
=
Math
.
min
(.
5
*
t
,
300
),
f
=
"
minimizing
"
),
d
.
default
.
createElement
(
"
div
"
,{
displayname
:
"
navigation
"
,
className
:
"
navigation-view
"
,
style
:{
width
:
o
,
height
:
r
,
top
:
i
,
left
:
l
}},
d
.
default
.
createElement
(
"
div
"
,{
id
:
"
map_canvas
"
}),
d
.
default
.
createElement
(
u
.
default
,{
type
:
f
,
onClick
:
this
.
onClickHandler
}))}}]),
t
}(
d
.
default
.
Component
);
t
.
default
=
m
},
470
:
function
(
e
,
t
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
u
(
a
(
4
)),
i
=
u
(
a
(
1
)),
l
=
u
(
a
(
2
)),
o
=
u
(
a
(
5
)),
r
=
u
(
a
(
6
)),
d
=
u
(
a
(
0
));
function
u
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
c
=
function
(
e
){
function
t
(){
return
(
0
,
i
.
default
)(
this
,
t
),(
0
,
o
.
default
)(
this
,(
t
.
__proto__
||
(
0
,
n
.
default
)(
t
)).
apply
(
this
,
arguments
))}
return
(
0
,
r
.
default
)(
t
,
e
),(
0
,
l
.
default
)(
t
,[{
key
:
"
getMaximizingIcon
"
,
value
:
function
(){
return
d
.
default
.
createElement
(
"
svg
"
,{
viewBox
:
"
0 0 20 20
"
},
d
.
default
.
createElement
(
"
defs
"
,
null
,
d
.
default
.
createElement
(
"
path
"
,{
d
:
"
M20 0L0 20h20V0z
"
,
id
:
"
a
"
}),
d
.
default
.
createElement
(
"
path
"
,{
d
:
"
M11.53 18.5l-.03-7h7
"
,
id
:
"
b
"
}),
d
.
default
.
createElement
(
"
path
"
,{
d
:
"
M12 12l7 7
"
,
id
:
"
c
"
})),
d
.
default
.
createElement
(
"
use
"
,{
xlinkHref
:
"
#a
"
,
opacity
:
"
.6
"
,
fill
:
"
#549BFF
"
}),
d
.
default
.
createElement
(
"
use
"
,{
xlinkHref
:
"
#b
"
,
fillOpacity
:
"
0
"
,
stroke
:
"
#006AFF
"
,
strokeWidth
:
"
2
"
}),
d
.
default
.
createElement
(
"
use
"
,{
xlinkHref
:
"
#c
"
,
fillOpacity
:
"
0
"
,
stroke
:
"
#006AFF
"
,
strokeWidth
:
"
2
"
}))}},{
key
:
"
getMinimizingIcon
"
,
value
:
function
(){
return
d
.
default
.
createElement
(
"
svg
"
,{
viewBox
:
"
0 0 20 20
"
},
d
.
default
.
createElement
(
"
defs
"
,
null
,
d
.
default
.
createElement
(
"
path
"
,{
d
:
"
M20 0L0 20h20V0z
"
,
id
:
"
a
"
}),
d
.
default
.
createElement
(
"
path
"
,{
d
:
"
M18.47 11.5l.03 7h-7
"
,
id
:
"
b
"
}),
d
.
default
.
createElement
(
"
path
"
,{
d
:
"
M11 11l7 7
"
,
id
:
"
c
"
})),
d
.
default
.
createElement
(
"
use
"
,{
xlinkHref
:
"
#a
"
,
opacity
:
"
.6
"
,
fill
:
"
#549BFF
"
}),
d
.
default
.
createElement
(
"
use
"
,{
xlinkHref
:
"
#b
"
,
fillOpacity
:
"
0
"
,
stroke
:
"
#006AFF
"
,
strokeWidth
:
"
2
"
}),
d
.
default
.
createElement
(
"
use
"
,{
xlinkHref
:
"
#c
"
,
fillOpacity
:
"
0
"
,
stroke
:
"
#006AFF
"
,
strokeWidth
:
"
2
"
}))}},{
key
:
"
render
"
,
value
:
function
(){
var
e
=
this
.
props
,
t
=
e
.
type
,
a
=
e
.
onClick
,
n
=
null
;
switch
(
t
){
case
"
minimizing
"
:
n
=
this
.
getMinimizingIcon
();
break
;
case
"
maximizing
"
:
n
=
this
.
getMaximizingIcon
()}
return
d
.
default
.
createElement
(
"
div
"
,{
className
:
"
window-resize-control
"
,
onClick
:
a
},
n
)}}]),
t
}(
d
.
default
.
PureComponent
);
t
.
default
=
c
},
471
:
function
(
e
,
t
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
function
(
e
){
var
t
=
e
.
url
,
a
=
e
.
onLoad
,
n
=
e
.
onError
,
i
=
document
.
createElement
(
"
script
"
);
i
.
src
=
t
,
i
.
type
=
"
text/javascript
"
,
i
.
async
=!
0
,
i
.
onload
=
a
,
i
.
onerror
=
n
,
document
.
body
.
appendChild
(
i
)}},
472
:
function
(
e
,
t
,
a
){
var
n
=
{
"
./BaiduMapAdapter
"
:[
473
,
3
],
"
./GoogleMapAdapter
"
:[
474
,
4
]};
function
i
(
e
){
if
(
!
a
.
o
(
n
,
e
))
return
Promise
.
resolve
().
then
((
function
(){
var
t
=
new
Error
(
"
Cannot find module '
"
+
e
+
"
'
"
);
throw
t
.
code
=
"
MODULE_NOT_FOUND
"
,
t
}));
var
t
=
n
[
e
],
i
=
t
[
0
];
return
a
.
e
(
t
[
1
]).
then
((
function
(){
return
a
.
t
(
i
,
7
)}))}
i
.
keys
=
function
(){
return
Object
.
keys
(
n
)},
i
.
id
=
472
,
e
.
exports
=
i
}}]);
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
2
],{
4
70
:
function
(
e
,
t
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
p
(
a
(
4
)),
i
=
p
(
a
(
1
)),
l
=
p
(
a
(
2
)),
o
=
p
(
a
(
5
)),
r
=
p
(
a
(
6
)),
d
=
p
(
a
(
0
)),
u
=
p
(
a
(
471
)),
c
=
p
(
a
(
103
)),
f
=
p
(
a
(
18
)),
s
=
p
(
a
(
472
));
function
p
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
m
=
function
(
e
){
function
t
(
e
){(
0
,
i
.
default
)(
this
,
t
);
var
a
=
(
0
,
o
.
default
)(
this
,(
t
.
__proto__
||
(
0
,
n
.
default
)(
t
)).
call
(
this
,
e
));
return
a
.
state
=
{
routingView
:
!
1
},
a
.
onClickHandler
=
a
.
onClickHandler
.
bind
(
a
),
a
.
scriptOnLoadHandler
=
a
.
scriptOnLoadHandler
.
bind
(
a
),
a
}
return
(
0
,
r
.
default
)(
t
,
e
),(
0
,
l
.
default
)(
t
,[{
key
:
"
onClickHandler
"
,
value
:
function
(){
var
e
=!
this
.
state
.
routingView
;
e
?
c
.
default
.
enableControls
():
c
.
default
.
disableControls
(),
this
.
setState
({
routingView
:
e
})}},{
key
:
"
componentDidMount
"
,
value
:
function
(){
c
.
default
.
mapAPILoaded
&&
this
.
scriptOnLoadHandler
()}},{
key
:
"
scriptOnLoadHandler
"
,
value
:
function
(){
a
(
473
)(
"
./
"
+
PARAMETERS
.
navigation
.
map
+
"
Adapter
"
).
then
((
function
(
e
){
var
t
=
new
(
0
,
e
.
default
);
c
.
default
.
mapAPILoaded
=!
0
,
c
.
default
.
initialize
(
f
.
default
,
t
),
c
.
default
.
disableControls
()}))}},{
key
:
"
componentWillUnmount
"
,
value
:
function
(){
c
.
default
.
reset
()}},{
key
:
"
render
"
,
value
:
function
(){
var
e
=
this
.
props
,
t
=
e
.
viewHeight
,
a
=
e
.
viewWidth
;
if
(
"
GoogleMap
"
!==
PARAMETERS
.
navigation
.
map
&&
"
BaiduMap
"
!==
PARAMETERS
.
navigation
.
map
)
return
console
.
error
(
"
Map API
"
+
PARAMETERS
.
navigation
.
map
+
"
is not supported.
"
),
null
;
if
(
!
c
.
default
.
mapAPILoaded
){
var
n
=
function
(){
console
.
log
(
"
Map API script loaded.
"
)};
"
BaiduMap
"
===
PARAMETERS
.
navigation
.
map
?
window
.
initMap
=
this
.
scriptOnLoadHandler
:
"
GoogleMap
"
===
PARAMETERS
.
navigation
.
map
&&
(
n
=
this
.
scriptOnLoadHandler
),(
0
,
s
.
default
)({
url
:
PARAMETERS
.
navigation
.
mapAPiUrl
,
onLoad
:
n
,
onError
:
function
(){
console
.
log
(
"
Failed to load map api
"
)}})}
var
i
=
0
,
l
=
0
,
o
=
a
,
r
=
t
,
f
=
"
maximizing
"
;
return
this
.
state
.
routingView
||
(
i
=
10
,
l
=
20
,
o
=
Math
.
min
(.
3
*
a
,
250
),
r
=
Math
.
min
(.
5
*
t
,
300
),
f
=
"
minimizing
"
),
d
.
default
.
createElement
(
"
div
"
,{
displayname
:
"
navigation
"
,
className
:
"
navigation-view
"
,
style
:{
width
:
o
,
height
:
r
,
top
:
i
,
left
:
l
}},
d
.
default
.
createElement
(
"
div
"
,{
id
:
"
map_canvas
"
}),
d
.
default
.
createElement
(
u
.
default
,{
type
:
f
,
onClick
:
this
.
onClickHandler
}))}}]),
t
}(
d
.
default
.
Component
);
t
.
default
=
m
},
471
:
function
(
e
,
t
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
u
(
a
(
4
)),
i
=
u
(
a
(
1
)),
l
=
u
(
a
(
2
)),
o
=
u
(
a
(
5
)),
r
=
u
(
a
(
6
)),
d
=
u
(
a
(
0
));
function
u
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
c
=
function
(
e
){
function
t
(){
return
(
0
,
i
.
default
)(
this
,
t
),(
0
,
o
.
default
)(
this
,(
t
.
__proto__
||
(
0
,
n
.
default
)(
t
)).
apply
(
this
,
arguments
))}
return
(
0
,
r
.
default
)(
t
,
e
),(
0
,
l
.
default
)(
t
,[{
key
:
"
getMaximizingIcon
"
,
value
:
function
(){
return
d
.
default
.
createElement
(
"
svg
"
,{
viewBox
:
"
0 0 20 20
"
},
d
.
default
.
createElement
(
"
defs
"
,
null
,
d
.
default
.
createElement
(
"
path
"
,{
d
:
"
M20 0L0 20h20V0z
"
,
id
:
"
a
"
}),
d
.
default
.
createElement
(
"
path
"
,{
d
:
"
M11.53 18.5l-.03-7h7
"
,
id
:
"
b
"
}),
d
.
default
.
createElement
(
"
path
"
,{
d
:
"
M12 12l7 7
"
,
id
:
"
c
"
})),
d
.
default
.
createElement
(
"
use
"
,{
xlinkHref
:
"
#a
"
,
opacity
:
"
.6
"
,
fill
:
"
#549BFF
"
}),
d
.
default
.
createElement
(
"
use
"
,{
xlinkHref
:
"
#b
"
,
fillOpacity
:
"
0
"
,
stroke
:
"
#006AFF
"
,
strokeWidth
:
"
2
"
}),
d
.
default
.
createElement
(
"
use
"
,{
xlinkHref
:
"
#c
"
,
fillOpacity
:
"
0
"
,
stroke
:
"
#006AFF
"
,
strokeWidth
:
"
2
"
}))}},{
key
:
"
getMinimizingIcon
"
,
value
:
function
(){
return
d
.
default
.
createElement
(
"
svg
"
,{
viewBox
:
"
0 0 20 20
"
},
d
.
default
.
createElement
(
"
defs
"
,
null
,
d
.
default
.
createElement
(
"
path
"
,{
d
:
"
M20 0L0 20h20V0z
"
,
id
:
"
a
"
}),
d
.
default
.
createElement
(
"
path
"
,{
d
:
"
M18.47 11.5l.03 7h-7
"
,
id
:
"
b
"
}),
d
.
default
.
createElement
(
"
path
"
,{
d
:
"
M11 11l7 7
"
,
id
:
"
c
"
})),
d
.
default
.
createElement
(
"
use
"
,{
xlinkHref
:
"
#a
"
,
opacity
:
"
.6
"
,
fill
:
"
#549BFF
"
}),
d
.
default
.
createElement
(
"
use
"
,{
xlinkHref
:
"
#b
"
,
fillOpacity
:
"
0
"
,
stroke
:
"
#006AFF
"
,
strokeWidth
:
"
2
"
}),
d
.
default
.
createElement
(
"
use
"
,{
xlinkHref
:
"
#c
"
,
fillOpacity
:
"
0
"
,
stroke
:
"
#006AFF
"
,
strokeWidth
:
"
2
"
}))}},{
key
:
"
render
"
,
value
:
function
(){
var
e
=
this
.
props
,
t
=
e
.
type
,
a
=
e
.
onClick
,
n
=
null
;
switch
(
t
){
case
"
minimizing
"
:
n
=
this
.
getMinimizingIcon
();
break
;
case
"
maximizing
"
:
n
=
this
.
getMaximizingIcon
()}
return
d
.
default
.
createElement
(
"
div
"
,{
className
:
"
window-resize-control
"
,
onClick
:
a
},
n
)}}]),
t
}(
d
.
default
.
PureComponent
);
t
.
default
=
c
},
472
:
function
(
e
,
t
,
a
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
function
(
e
){
var
t
=
e
.
url
,
a
=
e
.
onLoad
,
n
=
e
.
onError
,
i
=
document
.
createElement
(
"
script
"
);
i
.
src
=
t
,
i
.
type
=
"
text/javascript
"
,
i
.
async
=!
0
,
i
.
onload
=
a
,
i
.
onerror
=
n
,
document
.
body
.
appendChild
(
i
)}},
473
:
function
(
e
,
t
,
a
){
var
n
=
{
"
./BaiduMapAdapter
"
:[
474
,
3
],
"
./GoogleMapAdapter
"
:[
475
,
4
]};
function
i
(
e
){
if
(
!
a
.
o
(
n
,
e
))
return
Promise
.
resolve
().
then
((
function
(){
var
t
=
new
Error
(
"
Cannot find module '
"
+
e
+
"
'
"
);
throw
t
.
code
=
"
MODULE_NOT_FOUND
"
,
t
}));
var
t
=
n
[
e
],
i
=
t
[
0
];
return
a
.
e
(
t
[
1
]).
then
((
function
(){
return
a
.
t
(
i
,
7
)}))}
i
.
keys
=
function
(){
return
Object
.
keys
(
n
)},
i
.
id
=
473
,
e
.
exports
=
i
}}]);
//# sourceMappingURL=2.bundle.js.map
\ No newline at end of file
modules/dreamview/frontend/dist/2.bundle.js.map
浏览文件 @
70c24448
{"version":3,"file":"2.bundle.js","sources":["webpack:///2.bundle.js"],"sourcesContent":["(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{469:function(e,t,a){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n=p(a(4)),i=p(a(1)),l=p(a(2)),o=p(a(5)),r=p(a(6)),d=p(a(0)),u=p(a(470)),c=p(a(102)),f=p(a(18)),s=p(a(471));function p(e){return e&&e.__esModule?e:{default:e}}var m=function(e){function t(e){(0,i.default)(this,t);var a=(0,o.default)(this,(t.__proto__||(0,n.default)(t)).call(this,e));return a.state={routingView:!1},a.onClickHandler=a.onClickHandler.bind(a),a.scriptOnLoadHandler=a.scriptOnLoadHandler.bind(a),a}return(0,r.default)(t,e),(0,l.default)(t,[{key:\"onClickHandler\",value:function(){var e=!this.state.routingView;e?c.default.enableControls():c.default.disableControls(),this.setState({routingView:e})}},{key:\"componentDidMount\",value:function(){c.default.mapAPILoaded&&this.scriptOnLoadHandler()}},{key:\"scriptOnLoadHandler\",value:function(){a(472)(\"./\"+PARAMETERS.navigation.map+\"Adapter\").then((function(e){var t=new(0,e.default);c.default.mapAPILoaded=!0,c.default.initialize(f.default,t),c.default.disableControls()}))}},{key:\"componentWillUnmount\",value:function(){c.default.reset()}},{key:\"render\",value:function(){var e=this.props,t=e.viewHeight,a=e.viewWidth;if(\"GoogleMap\"!==PARAMETERS.navigation.map&&\"BaiduMap\"!==PARAMETERS.navigation.map)return console.error(\"Map API \"+PARAMETERS.navigation.map+\" is not supported.\"),null;if(!c.default.mapAPILoaded){var n=function(){console.log(\"Map API script loaded.\")};\"BaiduMap\"===PARAMETERS.navigation.map?window.initMap=this.scriptOnLoadHandler:\"GoogleMap\"===PARAMETERS.navigation.map&&(n=this.scriptOnLoadHandler),(0,s.default)({url:PARAMETERS.navigation.mapAPiUrl,onLoad:n,onError:function(){console.log(\"Failed to load map api\")}})}var i=0,l=0,o=a,r=t,f=\"maximizing\";return this.state.routingView||(i=10,l=20,o=Math.min(.3*a,250),r=Math.min(.5*t,300),f=\"minimizing\"),d.default.createElement(\"div\",{displayname:\"navigation\",className:\"navigation-view\",style:{width:o,height:r,top:i,left:l}},d.default.createElement(\"div\",{id:\"map_canvas\"}),d.default.createElement(u.default,{type:f,onClick:this.onClickHandler}))}}]),t}(d.default.Component);t.default=m},470:function(e,t,a){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n=u(a(4)),i=u(a(1)),l=u(a(2)),o=u(a(5)),r=u(a(6)),d=u(a(0));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){return(0,i.default)(this,t),(0,o.default)(this,(t.__proto__||(0,n.default)(t)).apply(this,arguments))}return(0,r.default)(t,e),(0,l.default)(t,[{key:\"getMaximizingIcon\",value:function(){return d.default.createElement(\"svg\",{viewBox:\"0 0 20 20\"},d.default.createElement(\"defs\",null,d.default.createElement(\"path\",{d:\"M20 0L0 20h20V0z\",id:\"a\"}),d.default.createElement(\"path\",{d:\"M11.53 18.5l-.03-7h7\",id:\"b\"}),d.default.createElement(\"path\",{d:\"M12 12l7 7\",id:\"c\"})),d.default.createElement(\"use\",{xlinkHref:\"#a\",opacity:\".6\",fill:\"#549BFF\"}),d.default.createElement(\"use\",{xlinkHref:\"#b\",fillOpacity:\"0\",stroke:\"#006AFF\",strokeWidth:\"2\"}),d.default.createElement(\"use\",{xlinkHref:\"#c\",fillOpacity:\"0\",stroke:\"#006AFF\",strokeWidth:\"2\"}))}},{key:\"getMinimizingIcon\",value:function(){return d.default.createElement(\"svg\",{viewBox:\"0 0 20 20\"},d.default.createElement(\"defs\",null,d.default.createElement(\"path\",{d:\"M20 0L0 20h20V0z\",id:\"a\"}),d.default.createElement(\"path\",{d:\"M18.47 11.5l.03 7h-7\",id:\"b\"}),d.default.createElement(\"path\",{d:\"M11 11l7 7\",id:\"c\"})),d.default.createElement(\"use\",{xlinkHref:\"#a\",opacity:\".6\",fill:\"#549BFF\"}),d.default.createElement(\"use\",{xlinkHref:\"#b\",fillOpacity:\"0\",stroke:\"#006AFF\",strokeWidth:\"2\"}),d.default.createElement(\"use\",{xlinkHref:\"#c\",fillOpacity:\"0\",stroke:\"#006AFF\",strokeWidth:\"2\"}))}},{key:\"render\",value:function(){var e=this.props,t=e.type,a=e.onClick,n=null;switch(t){case\"minimizing\":n=this.getMinimizingIcon();break;case\"maximizing\":n=this.getMaximizingIcon()}return d.default.createElement(\"div\",{className:\"window-resize-control\",onClick:a},n)}}]),t}(d.default.PureComponent);t.default=c},471:function(e,t,a){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e){var t=e.url,a=e.onLoad,n=e.onError,i=document.createElement(\"script\");i.src=t,i.type=\"text/javascript\",i.async=!0,i.onload=a,i.onerror=n,document.body.appendChild(i)}},472:function(e,t,a){var n={\"./BaiduMapAdapter\":[473,3],\"./GoogleMapAdapter\":[474,4]};function i(e){if(!a.o(n,e))return Promise.resolve().then((function(){var t=new Error(\"Cannot find module '\"+e+\"'\");throw t.code=\"MODULE_NOT_FOUND\",t}));var t=n[e],i=t[0];return a.e(t[1]).then((function(){return a.t(i,7)}))}i.keys=function(){return Object.keys(n)},i.id=472,e.exports=i}}]);"],"mappings":"AAAA","sourceRoot":""}
\ No newline at end of file
{"version":3,"file":"2.bundle.js","sources":["webpack:///2.bundle.js"],"sourcesContent":["(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{470:function(e,t,a){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n=p(a(4)),i=p(a(1)),l=p(a(2)),o=p(a(5)),r=p(a(6)),d=p(a(0)),u=p(a(471)),c=p(a(103)),f=p(a(18)),s=p(a(472));function p(e){return e&&e.__esModule?e:{default:e}}var m=function(e){function t(e){(0,i.default)(this,t);var a=(0,o.default)(this,(t.__proto__||(0,n.default)(t)).call(this,e));return a.state={routingView:!1},a.onClickHandler=a.onClickHandler.bind(a),a.scriptOnLoadHandler=a.scriptOnLoadHandler.bind(a),a}return(0,r.default)(t,e),(0,l.default)(t,[{key:\"onClickHandler\",value:function(){var e=!this.state.routingView;e?c.default.enableControls():c.default.disableControls(),this.setState({routingView:e})}},{key:\"componentDidMount\",value:function(){c.default.mapAPILoaded&&this.scriptOnLoadHandler()}},{key:\"scriptOnLoadHandler\",value:function(){a(473)(\"./\"+PARAMETERS.navigation.map+\"Adapter\").then((function(e){var t=new(0,e.default);c.default.mapAPILoaded=!0,c.default.initialize(f.default,t),c.default.disableControls()}))}},{key:\"componentWillUnmount\",value:function(){c.default.reset()}},{key:\"render\",value:function(){var e=this.props,t=e.viewHeight,a=e.viewWidth;if(\"GoogleMap\"!==PARAMETERS.navigation.map&&\"BaiduMap\"!==PARAMETERS.navigation.map)return console.error(\"Map API \"+PARAMETERS.navigation.map+\" is not supported.\"),null;if(!c.default.mapAPILoaded){var n=function(){console.log(\"Map API script loaded.\")};\"BaiduMap\"===PARAMETERS.navigation.map?window.initMap=this.scriptOnLoadHandler:\"GoogleMap\"===PARAMETERS.navigation.map&&(n=this.scriptOnLoadHandler),(0,s.default)({url:PARAMETERS.navigation.mapAPiUrl,onLoad:n,onError:function(){console.log(\"Failed to load map api\")}})}var i=0,l=0,o=a,r=t,f=\"maximizing\";return this.state.routingView||(i=10,l=20,o=Math.min(.3*a,250),r=Math.min(.5*t,300),f=\"minimizing\"),d.default.createElement(\"div\",{displayname:\"navigation\",className:\"navigation-view\",style:{width:o,height:r,top:i,left:l}},d.default.createElement(\"div\",{id:\"map_canvas\"}),d.default.createElement(u.default,{type:f,onClick:this.onClickHandler}))}}]),t}(d.default.Component);t.default=m},471:function(e,t,a){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n=u(a(4)),i=u(a(1)),l=u(a(2)),o=u(a(5)),r=u(a(6)),d=u(a(0));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){return(0,i.default)(this,t),(0,o.default)(this,(t.__proto__||(0,n.default)(t)).apply(this,arguments))}return(0,r.default)(t,e),(0,l.default)(t,[{key:\"getMaximizingIcon\",value:function(){return d.default.createElement(\"svg\",{viewBox:\"0 0 20 20\"},d.default.createElement(\"defs\",null,d.default.createElement(\"path\",{d:\"M20 0L0 20h20V0z\",id:\"a\"}),d.default.createElement(\"path\",{d:\"M11.53 18.5l-.03-7h7\",id:\"b\"}),d.default.createElement(\"path\",{d:\"M12 12l7 7\",id:\"c\"})),d.default.createElement(\"use\",{xlinkHref:\"#a\",opacity:\".6\",fill:\"#549BFF\"}),d.default.createElement(\"use\",{xlinkHref:\"#b\",fillOpacity:\"0\",stroke:\"#006AFF\",strokeWidth:\"2\"}),d.default.createElement(\"use\",{xlinkHref:\"#c\",fillOpacity:\"0\",stroke:\"#006AFF\",strokeWidth:\"2\"}))}},{key:\"getMinimizingIcon\",value:function(){return d.default.createElement(\"svg\",{viewBox:\"0 0 20 20\"},d.default.createElement(\"defs\",null,d.default.createElement(\"path\",{d:\"M20 0L0 20h20V0z\",id:\"a\"}),d.default.createElement(\"path\",{d:\"M18.47 11.5l.03 7h-7\",id:\"b\"}),d.default.createElement(\"path\",{d:\"M11 11l7 7\",id:\"c\"})),d.default.createElement(\"use\",{xlinkHref:\"#a\",opacity:\".6\",fill:\"#549BFF\"}),d.default.createElement(\"use\",{xlinkHref:\"#b\",fillOpacity:\"0\",stroke:\"#006AFF\",strokeWidth:\"2\"}),d.default.createElement(\"use\",{xlinkHref:\"#c\",fillOpacity:\"0\",stroke:\"#006AFF\",strokeWidth:\"2\"}))}},{key:\"render\",value:function(){var e=this.props,t=e.type,a=e.onClick,n=null;switch(t){case\"minimizing\":n=this.getMinimizingIcon();break;case\"maximizing\":n=this.getMaximizingIcon()}return d.default.createElement(\"div\",{className:\"window-resize-control\",onClick:a},n)}}]),t}(d.default.PureComponent);t.default=c},472:function(e,t,a){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e){var t=e.url,a=e.onLoad,n=e.onError,i=document.createElement(\"script\");i.src=t,i.type=\"text/javascript\",i.async=!0,i.onload=a,i.onerror=n,document.body.appendChild(i)}},473:function(e,t,a){var n={\"./BaiduMapAdapter\":[474,3],\"./GoogleMapAdapter\":[475,4]};function i(e){if(!a.o(n,e))return Promise.resolve().then((function(){var t=new Error(\"Cannot find module '\"+e+\"'\");throw t.code=\"MODULE_NOT_FOUND\",t}));var t=n[e],i=t[0];return a.e(t[1]).then((function(){return a.t(i,7)}))}i.keys=function(){return Object.keys(n)},i.id=473,e.exports=i}}]);"],"mappings":"AAAA","sourceRoot":""}
\ No newline at end of file
modules/dreamview/frontend/dist/3.bundle.js
浏览文件 @
70c24448
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
3
],{
47
3
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
d
(
n
(
4
)),
o
=
d
(
n
(
5
)),
i
=
d
(
n
(
6
)),
l
=
d
(
n
(
67
)),
r
=
d
(
n
(
1
)),
s
=
d
(
n
(
2
)),
u
=
n
(
170
);
function
d
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
c
=
function
(){
function
e
(){(
0
,
r
.
default
)(
this
,
e
),
this
.
map
=
null
,
this
.
controls
=
[],
this
.
initializedCenter
=!
1
}
return
(
0
,
s
.
default
)(
e
,[{
key
:
"
isInitialized
"
,
value
:
function
(){
return
null
!==
this
.
map
}},{
key
:
"
loadMap
"
,
value
:
function
(
e
,
t
){
this
.
map
=
new
BMap
.
Map
(
t
,{
enableMapClick
:
!
1
}),
this
.
map
.
enableScrollWheelZoom
(),
this
.
map
.
addControl
(
new
BMap
.
MapTypeControl
({
anchor
:
BMAP_ANCHOR_TOP_LEFT
,
type
:
BMAP_NAVIGATION_CONTROL_SMALL
})),
this
.
map
.
addControl
(
new
BMap
.
NavigationControl
({
anchor
:
BMAP_ANCHOR_BOTTOM_RIGHT
,
type
:
BMAP_NAVIGATION_CONTROL_SMALL
,
enableGeolocation
:
!
1
}))}},{
key
:
"
setCenter
"
,
value
:
function
(
e
){
this
.
initializedCenter
?
this
.
map
.
setCenter
(
e
):(
this
.
map
.
centerAndZoom
(
e
,
19
),
this
.
initializedCenter
=!
0
)}},{
key
:
"
setZoom
"
,
value
:
function
(
e
){
this
.
map
.
setZoom
(
e
)}},{
key
:
"
addEventHandler
"
,
value
:
function
(
e
,
t
){
this
.
map
.
addEventListener
(
e
,(
function
(
e
){
var
n
=
e
.
point
;
t
(
n
)}))}},{
key
:
"
createPoint
"
,
value
:
function
(
e
){
var
t
=
e
.
lat
,
n
=
e
.
lng
;
return
new
BMap
.
Point
(
n
,
t
)}},{
key
:
"
createMarker
"
,
value
:
function
(
e
,
t
){
var
n
=!
(
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
])
||
arguments
[
2
],
a
=
null
;
t
&&
(
a
=
new
BMap
.
Label
(
t
,{
point
:
e
,
offset
:
new
BMap
.
Size
(
15
,
-
15
)}));
var
o
=
new
BMap
.
Marker
(
e
,{
label
:
a
,
enableDragging
:
n
,
rotation
:
5
});
return
o
.
setLabel
(
a
),
this
.
map
.
addOverlay
(
o
),
o
}},{
key
:
"
createPolyline
"
,
value
:
function
(
e
,
t
){
var
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
1
,
a
=
arguments
.
length
>
3
&&
void
0
!==
arguments
[
3
]?
arguments
[
3
]:
2
,
o
=
{
geodesic
:
!
0
,
strokeColor
:
t
,
strokeOpacity
:
n
,
strokeWeight
:
a
},
i
=
new
BMap
.
Polyline
(
e
,
o
);
return
this
.
map
.
addOverlay
(
i
),
i
}},{
key
:
"
createControl
"
,
value
:
function
(
e
){
var
t
=
e
.
text
,
n
=
e
.
tip
,
a
=
e
.
color
,
o
=
e
.
offsetX
,
i
=
e
.
offsetY
,
l
=
e
.
onClickHandler
,
r
=
new
p
(
t
,
n
,
a
,
new
BMap
.
Size
(
o
,
i
),
l
);
this
.
map
.
addControl
(
r
),
this
.
controls
.
push
(
r
)}},{
key
:
"
disableControls
"
,
value
:
function
(){
var
e
=
this
;
this
.
controls
.
forEach
((
function
(
t
){
e
.
map
.
removeControl
(
t
)}))}},{
key
:
"
enableControls
"
,
value
:
function
(){
var
e
=
this
;
this
.
controls
.
forEach
((
function
(
t
){
e
.
map
.
addControl
(
t
)}))}},{
key
:
"
getMarkerPosition
"
,
value
:
function
(
e
){
return
e
.
getPosition
()}},{
key
:
"
updatePolyline
"
,
value
:
function
(
e
,
t
){
e
.
setPath
(
t
)}},{
key
:
"
removePolyline
"
,
value
:
function
(
e
){
this
.
map
.
removeOverlay
(
e
)}},{
key
:
"
applyCoordinateOffset
"
,
value
:
function
(
e
){
var
t
=
(
0
,
l
.
default
)(
e
,
2
),
n
=
t
[
0
],
a
=
t
[
1
];
return
(
0
,
u
.
WGS84ToBD09LL
)(
n
,
a
)}}]),
e
}();
t
.
default
=
c
;
var
p
=
function
(
e
){
function
t
(
e
,
n
,
i
,
l
,
s
){
var
u
;(
0
,
r
.
default
)(
this
,
t
);
for
(
var
d
=
arguments
.
length
,
c
=
Array
(
d
>
5
?
d
-
5
:
0
),
p
=
5
;
p
<
d
;
p
++
)
c
[
p
-
5
]
=
arguments
[
p
];
var
f
=
(
0
,
o
.
default
)(
this
,(
u
=
t
.
__proto__
||
(
0
,
a
.
default
)(
t
)).
call
.
apply
(
u
,[
this
].
concat
(
c
)));
return
f
.
defaultAnchor
=
BMAP_ANCHOR_TOP_LEFT
,
f
.
defaultOffset
=
l
,
f
.
onClickHandler
=
s
,
f
.
title
=
n
,
f
.
text
=
e
,
f
.
backgroundColor
=
i
,
f
}
return
(
0
,
i
.
default
)(
t
,
e
),(
0
,
s
.
default
)(
t
,[{
key
:
"
initialize
"
,
value
:
function
(
e
){
var
t
=
this
,
n
=
document
.
createElement
(
"
div
"
),
a
=
document
.
createElement
(
"
div
"
);
a
.
style
.
backgroundColor
=
this
.
backgroundColor
,
a
.
style
.
border
=
"
2px solid #fff
"
,
a
.
style
.
borderRadius
=
"
3px
"
,
a
.
style
.
boxShadow
=
"
0 2px 6px rgba(0,0,0,.3)
"
,
a
.
style
.
cursor
=
"
pointer
"
,
a
.
style
.
marginBottom
=
"
22px
"
,
a
.
style
.
textAlign
=
"
center
"
,
a
.
title
=
this
.
title
,
n
.
appendChild
(
a
);
var
o
=
document
.
createElement
(
"
div
"
);
return
o
.
style
.
color
=
"
rgb(25,25,25)
"
,
o
.
style
.
fontFamily
=
"
Roboto,Arial,sans-serif
"
,
o
.
style
.
fontSize
=
"
16px
"
,
o
.
style
.
lineHeight
=
"
38px
"
,
o
.
style
.
paddingLeft
=
"
5px
"
,
o
.
style
.
paddingRight
=
"
5px
"
,
o
.
innerHTML
=
this
.
text
,
a
.
appendChild
(
o
),
e
.
getContainer
().
appendChild
(
n
),
a
.
addEventListener
(
"
click
"
,(
function
(){
t
.
onClickHandler
(
o
)})),
n
}}]),
t
}(
BMap
.
Control
)}}]);
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
3
],{
47
4
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
a
=
d
(
n
(
4
)),
o
=
d
(
n
(
5
)),
i
=
d
(
n
(
6
)),
l
=
d
(
n
(
68
)),
r
=
d
(
n
(
1
)),
s
=
d
(
n
(
2
)),
u
=
n
(
172
);
function
d
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
c
=
function
(){
function
e
(){(
0
,
r
.
default
)(
this
,
e
),
this
.
map
=
null
,
this
.
controls
=
[],
this
.
initializedCenter
=!
1
}
return
(
0
,
s
.
default
)(
e
,[{
key
:
"
isInitialized
"
,
value
:
function
(){
return
null
!==
this
.
map
}},{
key
:
"
loadMap
"
,
value
:
function
(
e
,
t
){
this
.
map
=
new
BMap
.
Map
(
t
,{
enableMapClick
:
!
1
}),
this
.
map
.
enableScrollWheelZoom
(),
this
.
map
.
addControl
(
new
BMap
.
MapTypeControl
({
anchor
:
BMAP_ANCHOR_TOP_LEFT
,
type
:
BMAP_NAVIGATION_CONTROL_SMALL
})),
this
.
map
.
addControl
(
new
BMap
.
NavigationControl
({
anchor
:
BMAP_ANCHOR_BOTTOM_RIGHT
,
type
:
BMAP_NAVIGATION_CONTROL_SMALL
,
enableGeolocation
:
!
1
}))}},{
key
:
"
setCenter
"
,
value
:
function
(
e
){
this
.
initializedCenter
?
this
.
map
.
setCenter
(
e
):(
this
.
map
.
centerAndZoom
(
e
,
19
),
this
.
initializedCenter
=!
0
)}},{
key
:
"
setZoom
"
,
value
:
function
(
e
){
this
.
map
.
setZoom
(
e
)}},{
key
:
"
addEventHandler
"
,
value
:
function
(
e
,
t
){
this
.
map
.
addEventListener
(
e
,(
function
(
e
){
var
n
=
e
.
point
;
t
(
n
)}))}},{
key
:
"
createPoint
"
,
value
:
function
(
e
){
var
t
=
e
.
lat
,
n
=
e
.
lng
;
return
new
BMap
.
Point
(
n
,
t
)}},{
key
:
"
createMarker
"
,
value
:
function
(
e
,
t
){
var
n
=!
(
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
])
||
arguments
[
2
],
a
=
null
;
t
&&
(
a
=
new
BMap
.
Label
(
t
,{
point
:
e
,
offset
:
new
BMap
.
Size
(
15
,
-
15
)}));
var
o
=
new
BMap
.
Marker
(
e
,{
label
:
a
,
enableDragging
:
n
,
rotation
:
5
});
return
o
.
setLabel
(
a
),
this
.
map
.
addOverlay
(
o
),
o
}},{
key
:
"
createPolyline
"
,
value
:
function
(
e
,
t
){
var
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
1
,
a
=
arguments
.
length
>
3
&&
void
0
!==
arguments
[
3
]?
arguments
[
3
]:
2
,
o
=
{
geodesic
:
!
0
,
strokeColor
:
t
,
strokeOpacity
:
n
,
strokeWeight
:
a
},
i
=
new
BMap
.
Polyline
(
e
,
o
);
return
this
.
map
.
addOverlay
(
i
),
i
}},{
key
:
"
createControl
"
,
value
:
function
(
e
){
var
t
=
e
.
text
,
n
=
e
.
tip
,
a
=
e
.
color
,
o
=
e
.
offsetX
,
i
=
e
.
offsetY
,
l
=
e
.
onClickHandler
,
r
=
new
p
(
t
,
n
,
a
,
new
BMap
.
Size
(
o
,
i
),
l
);
this
.
map
.
addControl
(
r
),
this
.
controls
.
push
(
r
)}},{
key
:
"
disableControls
"
,
value
:
function
(){
var
e
=
this
;
this
.
controls
.
forEach
((
function
(
t
){
e
.
map
.
removeControl
(
t
)}))}},{
key
:
"
enableControls
"
,
value
:
function
(){
var
e
=
this
;
this
.
controls
.
forEach
((
function
(
t
){
e
.
map
.
addControl
(
t
)}))}},{
key
:
"
getMarkerPosition
"
,
value
:
function
(
e
){
return
e
.
getPosition
()}},{
key
:
"
updatePolyline
"
,
value
:
function
(
e
,
t
){
e
.
setPath
(
t
)}},{
key
:
"
removePolyline
"
,
value
:
function
(
e
){
this
.
map
.
removeOverlay
(
e
)}},{
key
:
"
applyCoordinateOffset
"
,
value
:
function
(
e
){
var
t
=
(
0
,
l
.
default
)(
e
,
2
),
n
=
t
[
0
],
a
=
t
[
1
];
return
(
0
,
u
.
WGS84ToBD09LL
)(
n
,
a
)}}]),
e
}();
t
.
default
=
c
;
var
p
=
function
(
e
){
function
t
(
e
,
n
,
i
,
l
,
s
){
var
u
;(
0
,
r
.
default
)(
this
,
t
);
for
(
var
d
=
arguments
.
length
,
c
=
Array
(
d
>
5
?
d
-
5
:
0
),
p
=
5
;
p
<
d
;
p
++
)
c
[
p
-
5
]
=
arguments
[
p
];
var
f
=
(
0
,
o
.
default
)(
this
,(
u
=
t
.
__proto__
||
(
0
,
a
.
default
)(
t
)).
call
.
apply
(
u
,[
this
].
concat
(
c
)));
return
f
.
defaultAnchor
=
BMAP_ANCHOR_TOP_LEFT
,
f
.
defaultOffset
=
l
,
f
.
onClickHandler
=
s
,
f
.
title
=
n
,
f
.
text
=
e
,
f
.
backgroundColor
=
i
,
f
}
return
(
0
,
i
.
default
)(
t
,
e
),(
0
,
s
.
default
)(
t
,[{
key
:
"
initialize
"
,
value
:
function
(
e
){
var
t
=
this
,
n
=
document
.
createElement
(
"
div
"
),
a
=
document
.
createElement
(
"
div
"
);
a
.
style
.
backgroundColor
=
this
.
backgroundColor
,
a
.
style
.
border
=
"
2px solid #fff
"
,
a
.
style
.
borderRadius
=
"
3px
"
,
a
.
style
.
boxShadow
=
"
0 2px 6px rgba(0,0,0,.3)
"
,
a
.
style
.
cursor
=
"
pointer
"
,
a
.
style
.
marginBottom
=
"
22px
"
,
a
.
style
.
textAlign
=
"
center
"
,
a
.
title
=
this
.
title
,
n
.
appendChild
(
a
);
var
o
=
document
.
createElement
(
"
div
"
);
return
o
.
style
.
color
=
"
rgb(25,25,25)
"
,
o
.
style
.
fontFamily
=
"
Roboto,Arial,sans-serif
"
,
o
.
style
.
fontSize
=
"
16px
"
,
o
.
style
.
lineHeight
=
"
38px
"
,
o
.
style
.
paddingLeft
=
"
5px
"
,
o
.
style
.
paddingRight
=
"
5px
"
,
o
.
innerHTML
=
this
.
text
,
a
.
appendChild
(
o
),
e
.
getContainer
().
appendChild
(
n
),
a
.
addEventListener
(
"
click
"
,(
function
(){
t
.
onClickHandler
(
o
)})),
n
}}]),
t
}(
BMap
.
Control
)}}]);
//# sourceMappingURL=3.bundle.js.map
\ No newline at end of file
modules/dreamview/frontend/dist/3.bundle.js.map
浏览文件 @
70c24448
{"version":3,"file":"3.bundle.js","sources":["webpack:///3.bundle.js"],"sourcesContent":["(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{473:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=d(n(4)),o=d(n(5)),i=d(n(6)),l=d(n(67)),r=d(n(1)),s=d(n(2)),u=n(170);function d(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(){(0,r.default)(this,e),this.map=null,this.controls=[],this.initializedCenter=!1}return(0,s.default)(e,[{key:\"isInitialized\",value:function(){return null!==this.map}},{key:\"loadMap\",value:function(e,t){this.map=new BMap.Map(t,{enableMapClick:!1}),this.map.enableScrollWheelZoom(),this.map.addControl(new BMap.MapTypeControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_SMALL})),this.map.addControl(new BMap.NavigationControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,type:BMAP_NAVIGATION_CONTROL_SMALL,enableGeolocation:!1}))}},{key:\"setCenter\",value:function(e){this.initializedCenter?this.map.setCenter(e):(this.map.centerAndZoom(e,19),this.initializedCenter=!0)}},{key:\"setZoom\",value:function(e){this.map.setZoom(e)}},{key:\"addEventHandler\",value:function(e,t){this.map.addEventListener(e,(function(e){var n=e.point;t(n)}))}},{key:\"createPoint\",value:function(e){var t=e.lat,n=e.lng;return new BMap.Point(n,t)}},{key:\"createMarker\",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=null;t&&(a=new BMap.Label(t,{point:e,offset:new BMap.Size(15,-15)}));var o=new BMap.Marker(e,{label:a,enableDragging:n,rotation:5});return o.setLabel(a),this.map.addOverlay(o),o}},{key:\"createPolyline\",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2,o={geodesic:!0,strokeColor:t,strokeOpacity:n,strokeWeight:a},i=new BMap.Polyline(e,o);return this.map.addOverlay(i),i}},{key:\"createControl\",value:function(e){var t=e.text,n=e.tip,a=e.color,o=e.offsetX,i=e.offsetY,l=e.onClickHandler,r=new p(t,n,a,new BMap.Size(o,i),l);this.map.addControl(r),this.controls.push(r)}},{key:\"disableControls\",value:function(){var e=this;this.controls.forEach((function(t){e.map.removeControl(t)}))}},{key:\"enableControls\",value:function(){var e=this;this.controls.forEach((function(t){e.map.addControl(t)}))}},{key:\"getMarkerPosition\",value:function(e){return e.getPosition()}},{key:\"updatePolyline\",value:function(e,t){e.setPath(t)}},{key:\"removePolyline\",value:function(e){this.map.removeOverlay(e)}},{key:\"applyCoordinateOffset\",value:function(e){var t=(0,l.default)(e,2),n=t[0],a=t[1];return(0,u.WGS84ToBD09LL)(n,a)}}]),e}();t.default=c;var p=function(e){function t(e,n,i,l,s){var u;(0,r.default)(this,t);for(var d=arguments.length,c=Array(d>5?d-5:0),p=5;p<d;p++)c[p-5]=arguments[p];var f=(0,o.default)(this,(u=t.__proto__||(0,a.default)(t)).call.apply(u,[this].concat(c)));return f.defaultAnchor=BMAP_ANCHOR_TOP_LEFT,f.defaultOffset=l,f.onClickHandler=s,f.title=n,f.text=e,f.backgroundColor=i,f}return(0,i.default)(t,e),(0,s.default)(t,[{key:\"initialize\",value:function(e){var t=this,n=document.createElement(\"div\"),a=document.createElement(\"div\");a.style.backgroundColor=this.backgroundColor,a.style.border=\"2px solid #fff\",a.style.borderRadius=\"3px\",a.style.boxShadow=\"0 2px 6px rgba(0,0,0,.3)\",a.style.cursor=\"pointer\",a.style.marginBottom=\"22px\",a.style.textAlign=\"center\",a.title=this.title,n.appendChild(a);var o=document.createElement(\"div\");return o.style.color=\"rgb(25,25,25)\",o.style.fontFamily=\"Roboto,Arial,sans-serif\",o.style.fontSize=\"16px\",o.style.lineHeight=\"38px\",o.style.paddingLeft=\"5px\",o.style.paddingRight=\"5px\",o.innerHTML=this.text,a.appendChild(o),e.getContainer().appendChild(n),a.addEventListener(\"click\",(function(){t.onClickHandler(o)})),n}}]),t}(BMap.Control)}}]);"],"mappings":"AAAA","sourceRoot":""}
\ No newline at end of file
{"version":3,"file":"3.bundle.js","sources":["webpack:///3.bundle.js"],"sourcesContent":["(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{474:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=d(n(4)),o=d(n(5)),i=d(n(6)),l=d(n(68)),r=d(n(1)),s=d(n(2)),u=n(172);function d(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(){(0,r.default)(this,e),this.map=null,this.controls=[],this.initializedCenter=!1}return(0,s.default)(e,[{key:\"isInitialized\",value:function(){return null!==this.map}},{key:\"loadMap\",value:function(e,t){this.map=new BMap.Map(t,{enableMapClick:!1}),this.map.enableScrollWheelZoom(),this.map.addControl(new BMap.MapTypeControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_SMALL})),this.map.addControl(new BMap.NavigationControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,type:BMAP_NAVIGATION_CONTROL_SMALL,enableGeolocation:!1}))}},{key:\"setCenter\",value:function(e){this.initializedCenter?this.map.setCenter(e):(this.map.centerAndZoom(e,19),this.initializedCenter=!0)}},{key:\"setZoom\",value:function(e){this.map.setZoom(e)}},{key:\"addEventHandler\",value:function(e,t){this.map.addEventListener(e,(function(e){var n=e.point;t(n)}))}},{key:\"createPoint\",value:function(e){var t=e.lat,n=e.lng;return new BMap.Point(n,t)}},{key:\"createMarker\",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=null;t&&(a=new BMap.Label(t,{point:e,offset:new BMap.Size(15,-15)}));var o=new BMap.Marker(e,{label:a,enableDragging:n,rotation:5});return o.setLabel(a),this.map.addOverlay(o),o}},{key:\"createPolyline\",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2,o={geodesic:!0,strokeColor:t,strokeOpacity:n,strokeWeight:a},i=new BMap.Polyline(e,o);return this.map.addOverlay(i),i}},{key:\"createControl\",value:function(e){var t=e.text,n=e.tip,a=e.color,o=e.offsetX,i=e.offsetY,l=e.onClickHandler,r=new p(t,n,a,new BMap.Size(o,i),l);this.map.addControl(r),this.controls.push(r)}},{key:\"disableControls\",value:function(){var e=this;this.controls.forEach((function(t){e.map.removeControl(t)}))}},{key:\"enableControls\",value:function(){var e=this;this.controls.forEach((function(t){e.map.addControl(t)}))}},{key:\"getMarkerPosition\",value:function(e){return e.getPosition()}},{key:\"updatePolyline\",value:function(e,t){e.setPath(t)}},{key:\"removePolyline\",value:function(e){this.map.removeOverlay(e)}},{key:\"applyCoordinateOffset\",value:function(e){var t=(0,l.default)(e,2),n=t[0],a=t[1];return(0,u.WGS84ToBD09LL)(n,a)}}]),e}();t.default=c;var p=function(e){function t(e,n,i,l,s){var u;(0,r.default)(this,t);for(var d=arguments.length,c=Array(d>5?d-5:0),p=5;p<d;p++)c[p-5]=arguments[p];var f=(0,o.default)(this,(u=t.__proto__||(0,a.default)(t)).call.apply(u,[this].concat(c)));return f.defaultAnchor=BMAP_ANCHOR_TOP_LEFT,f.defaultOffset=l,f.onClickHandler=s,f.title=n,f.text=e,f.backgroundColor=i,f}return(0,i.default)(t,e),(0,s.default)(t,[{key:\"initialize\",value:function(e){var t=this,n=document.createElement(\"div\"),a=document.createElement(\"div\");a.style.backgroundColor=this.backgroundColor,a.style.border=\"2px solid #fff\",a.style.borderRadius=\"3px\",a.style.boxShadow=\"0 2px 6px rgba(0,0,0,.3)\",a.style.cursor=\"pointer\",a.style.marginBottom=\"22px\",a.style.textAlign=\"center\",a.title=this.title,n.appendChild(a);var o=document.createElement(\"div\");return o.style.color=\"rgb(25,25,25)\",o.style.fontFamily=\"Roboto,Arial,sans-serif\",o.style.fontSize=\"16px\",o.style.lineHeight=\"38px\",o.style.paddingLeft=\"5px\",o.style.paddingRight=\"5px\",o.innerHTML=this.text,a.appendChild(o),e.getContainer().appendChild(n),a.addEventListener(\"click\",(function(){t.onClickHandler(o)})),n}}]),t}(BMap.Control)}}]);"],"mappings":"AAAA","sourceRoot":""}
\ No newline at end of file
modules/dreamview/frontend/dist/4.bundle.js
浏览文件 @
70c24448
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
4
],{
47
4
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
o
=
r
(
n
(
67
)),
l
=
r
(
n
(
1
)),
a
=
r
(
n
(
2
)),
i
=
n
(
170
);
function
r
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
s
=
function
(){
function
e
(){(
0
,
l
.
default
)(
this
,
e
),
this
.
map
=
null
,
this
.
controls
=
[]}
return
(
0
,
a
.
default
)(
e
,[{
key
:
"
isInitialized
"
,
value
:
function
(){
return
null
!==
this
.
map
}},{
key
:
"
loadMap
"
,
value
:
function
(
e
,
t
){
var
n
=
{
center
:
e
,
zoom
:
20
,
mapTypeId
:
google
.
maps
.
MapTypeId
.
ROADMAP
,
fullscreenControl
:
!
1
};
this
.
map
=
new
google
.
maps
.
Map
(
document
.
getElementById
(
t
),
n
)}},{
key
:
"
setCenter
"
,
value
:
function
(
e
){
this
.
map
.
setCenter
(
e
)}},{
key
:
"
setZoom
"
,
value
:
function
(
e
){
this
.
map
.
setZoom
(
e
)}},{
key
:
"
addEventHandler
"
,
value
:
function
(
e
,
t
){
google
.
maps
.
event
.
addListener
(
this
.
map
,
e
,(
function
(
e
){
var
n
=
e
.
latLng
;
t
(
n
)}))}},{
key
:
"
createPoint
"
,
value
:
function
(
e
){
var
t
=
e
.
lat
,
n
=
e
.
lng
;
return
new
google
.
maps
.
LatLng
(
t
,
n
)}},{
key
:
"
createMarker
"
,
value
:
function
(
e
,
t
){
var
n
=!
(
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
])
||
arguments
[
2
],
o
=
new
google
.
maps
.
Marker
({
position
:
e
,
label
:
t
,
draggable
:
n
,
map
:
this
.
map
});
return
o
}},{
key
:
"
createPolyline
"
,
value
:
function
(
e
,
t
){
var
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
1
,
o
=
arguments
.
length
>
3
&&
void
0
!==
arguments
[
3
]?
arguments
[
3
]:
2
,
l
=
new
google
.
maps
.
Polyline
({
path
:
e
,
geodesic
:
!
0
,
strokeColor
:
t
,
strokeOpacity
:
n
,
strokeWeight
:
o
,
map
:
this
.
map
});
return
l
}},{
key
:
"
createControl
"
,
value
:
function
(
e
){
var
t
=
e
.
text
,
n
=
e
.
tip
,
o
=
e
.
color
,
l
=
(
e
.
offsetX
,
e
.
offsetY
,
e
.
onClickHandler
),
a
=
document
.
createElement
(
"
div
"
),
i
=
document
.
createElement
(
"
div
"
);
i
.
style
.
backgroundColor
=
o
,
i
.
style
.
border
=
"
2px solid #fff
"
,
i
.
style
.
borderRadius
=
"
3px
"
,
i
.
style
.
boxShadow
=
"
0 2px 6px rgba(0,0,0,.3)
"
,
i
.
style
.
cursor
=
"
pointer
"
,
i
.
style
.
marginBottom
=
"
22px
"
,
i
.
style
.
textAlign
=
"
center
"
,
i
.
title
=
n
,
a
.
appendChild
(
i
);
var
r
=
document
.
createElement
(
"
div
"
);
r
.
style
.
color
=
"
rgb(25,25,25)
"
,
r
.
style
.
fontFamily
=
"
Roboto,Arial,sans-serif
"
,
r
.
style
.
fontSize
=
"
16px
"
,
r
.
style
.
lineHeight
=
"
38px
"
,
r
.
style
.
paddingLeft
=
"
5px
"
,
r
.
style
.
paddingRight
=
"
5px
"
,
r
.
innerHTML
=
t
,
i
.
appendChild
(
r
),
i
.
addEventListener
(
"
click
"
,(
function
(){
l
(
r
)})),
this
.
map
.
controls
[
google
.
maps
.
ControlPosition
.
TOP_LEFT
].
push
(
a
),
this
.
controls
.
push
(
a
)}},{
key
:
"
disableControls
"
,
value
:
function
(){
this
.
controls
.
forEach
((
function
(
e
){
e
.
style
.
display
=
"
none
"
}))}},{
key
:
"
enableControls
"
,
value
:
function
(){
this
.
controls
.
forEach
((
function
(
e
){
e
.
style
.
display
=
"
block
"
}))}},{
key
:
"
getMarkerPosition
"
,
value
:
function
(
e
){
var
t
=
e
.
getPosition
();
return
{
lat
:
t
.
lat
(),
lng
:
t
.
lng
()}}},{
key
:
"
updatePolyline
"
,
value
:
function
(
e
,
t
){
e
.
setPath
(
t
)}},{
key
:
"
removePolyline
"
,
value
:
function
(
e
){
e
.
setMap
(
null
)}},{
key
:
"
applyCoordinateOffset
"
,
value
:
function
(
e
){
var
t
=
(
0
,
o
.
default
)(
e
,
2
),
n
=
t
[
0
],
l
=
t
[
1
];
return
(
0
,
i
.
WGS84ToGCJ02
)(
n
,
l
)}}]),
e
}();
t
.
default
=
s
}}]);
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
4
],{
47
5
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
o
=
r
(
n
(
68
)),
l
=
r
(
n
(
1
)),
a
=
r
(
n
(
2
)),
i
=
n
(
172
);
function
r
(
e
){
return
e
&&
e
.
__esModule
?
e
:{
default
:
e
}}
var
s
=
function
(){
function
e
(){(
0
,
l
.
default
)(
this
,
e
),
this
.
map
=
null
,
this
.
controls
=
[]}
return
(
0
,
a
.
default
)(
e
,[{
key
:
"
isInitialized
"
,
value
:
function
(){
return
null
!==
this
.
map
}},{
key
:
"
loadMap
"
,
value
:
function
(
e
,
t
){
var
n
=
{
center
:
e
,
zoom
:
20
,
mapTypeId
:
google
.
maps
.
MapTypeId
.
ROADMAP
,
fullscreenControl
:
!
1
};
this
.
map
=
new
google
.
maps
.
Map
(
document
.
getElementById
(
t
),
n
)}},{
key
:
"
setCenter
"
,
value
:
function
(
e
){
this
.
map
.
setCenter
(
e
)}},{
key
:
"
setZoom
"
,
value
:
function
(
e
){
this
.
map
.
setZoom
(
e
)}},{
key
:
"
addEventHandler
"
,
value
:
function
(
e
,
t
){
google
.
maps
.
event
.
addListener
(
this
.
map
,
e
,(
function
(
e
){
var
n
=
e
.
latLng
;
t
(
n
)}))}},{
key
:
"
createPoint
"
,
value
:
function
(
e
){
var
t
=
e
.
lat
,
n
=
e
.
lng
;
return
new
google
.
maps
.
LatLng
(
t
,
n
)}},{
key
:
"
createMarker
"
,
value
:
function
(
e
,
t
){
var
n
=!
(
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
])
||
arguments
[
2
],
o
=
new
google
.
maps
.
Marker
({
position
:
e
,
label
:
t
,
draggable
:
n
,
map
:
this
.
map
});
return
o
}},{
key
:
"
createPolyline
"
,
value
:
function
(
e
,
t
){
var
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
1
,
o
=
arguments
.
length
>
3
&&
void
0
!==
arguments
[
3
]?
arguments
[
3
]:
2
,
l
=
new
google
.
maps
.
Polyline
({
path
:
e
,
geodesic
:
!
0
,
strokeColor
:
t
,
strokeOpacity
:
n
,
strokeWeight
:
o
,
map
:
this
.
map
});
return
l
}},{
key
:
"
createControl
"
,
value
:
function
(
e
){
var
t
=
e
.
text
,
n
=
e
.
tip
,
o
=
e
.
color
,
l
=
(
e
.
offsetX
,
e
.
offsetY
,
e
.
onClickHandler
),
a
=
document
.
createElement
(
"
div
"
),
i
=
document
.
createElement
(
"
div
"
);
i
.
style
.
backgroundColor
=
o
,
i
.
style
.
border
=
"
2px solid #fff
"
,
i
.
style
.
borderRadius
=
"
3px
"
,
i
.
style
.
boxShadow
=
"
0 2px 6px rgba(0,0,0,.3)
"
,
i
.
style
.
cursor
=
"
pointer
"
,
i
.
style
.
marginBottom
=
"
22px
"
,
i
.
style
.
textAlign
=
"
center
"
,
i
.
title
=
n
,
a
.
appendChild
(
i
);
var
r
=
document
.
createElement
(
"
div
"
);
r
.
style
.
color
=
"
rgb(25,25,25)
"
,
r
.
style
.
fontFamily
=
"
Roboto,Arial,sans-serif
"
,
r
.
style
.
fontSize
=
"
16px
"
,
r
.
style
.
lineHeight
=
"
38px
"
,
r
.
style
.
paddingLeft
=
"
5px
"
,
r
.
style
.
paddingRight
=
"
5px
"
,
r
.
innerHTML
=
t
,
i
.
appendChild
(
r
),
i
.
addEventListener
(
"
click
"
,(
function
(){
l
(
r
)})),
this
.
map
.
controls
[
google
.
maps
.
ControlPosition
.
TOP_LEFT
].
push
(
a
),
this
.
controls
.
push
(
a
)}},{
key
:
"
disableControls
"
,
value
:
function
(){
this
.
controls
.
forEach
((
function
(
e
){
e
.
style
.
display
=
"
none
"
}))}},{
key
:
"
enableControls
"
,
value
:
function
(){
this
.
controls
.
forEach
((
function
(
e
){
e
.
style
.
display
=
"
block
"
}))}},{
key
:
"
getMarkerPosition
"
,
value
:
function
(
e
){
var
t
=
e
.
getPosition
();
return
{
lat
:
t
.
lat
(),
lng
:
t
.
lng
()}}},{
key
:
"
updatePolyline
"
,
value
:
function
(
e
,
t
){
e
.
setPath
(
t
)}},{
key
:
"
removePolyline
"
,
value
:
function
(
e
){
e
.
setMap
(
null
)}},{
key
:
"
applyCoordinateOffset
"
,
value
:
function
(
e
){
var
t
=
(
0
,
o
.
default
)(
e
,
2
),
n
=
t
[
0
],
l
=
t
[
1
];
return
(
0
,
i
.
WGS84ToGCJ02
)(
n
,
l
)}}]),
e
}();
t
.
default
=
s
}}]);
//# sourceMappingURL=4.bundle.js.map
\ No newline at end of file
modules/dreamview/frontend/dist/4.bundle.js.map
浏览文件 @
70c24448
{"version":3,"file":"4.bundle.js","sources":["webpack:///4.bundle.js"],"sourcesContent":["(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{474:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var o=r(n(67)),l=r(n(1)),a=r(n(2)),i=n(170);function r(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,l.default)(this,e),this.map=null,this.controls=[]}return(0,a.default)(e,[{key:\"isInitialized\",value:function(){return null!==this.map}},{key:\"loadMap\",value:function(e,t){var n={center:e,zoom:20,mapTypeId:google.maps.MapTypeId.ROADMAP,fullscreenControl:!1};this.map=new google.maps.Map(document.getElementById(t),n)}},{key:\"setCenter\",value:function(e){this.map.setCenter(e)}},{key:\"setZoom\",value:function(e){this.map.setZoom(e)}},{key:\"addEventHandler\",value:function(e,t){google.maps.event.addListener(this.map,e,(function(e){var n=e.latLng;t(n)}))}},{key:\"createPoint\",value:function(e){var t=e.lat,n=e.lng;return new google.maps.LatLng(t,n)}},{key:\"createMarker\",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=new google.maps.Marker({position:e,label:t,draggable:n,map:this.map});return o}},{key:\"createPolyline\",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2,l=new google.maps.Polyline({path:e,geodesic:!0,strokeColor:t,strokeOpacity:n,strokeWeight:o,map:this.map});return l}},{key:\"createControl\",value:function(e){var t=e.text,n=e.tip,o=e.color,l=(e.offsetX,e.offsetY,e.onClickHandler),a=document.createElement(\"div\"),i=document.createElement(\"div\");i.style.backgroundColor=o,i.style.border=\"2px solid #fff\",i.style.borderRadius=\"3px\",i.style.boxShadow=\"0 2px 6px rgba(0,0,0,.3)\",i.style.cursor=\"pointer\",i.style.marginBottom=\"22px\",i.style.textAlign=\"center\",i.title=n,a.appendChild(i);var r=document.createElement(\"div\");r.style.color=\"rgb(25,25,25)\",r.style.fontFamily=\"Roboto,Arial,sans-serif\",r.style.fontSize=\"16px\",r.style.lineHeight=\"38px\",r.style.paddingLeft=\"5px\",r.style.paddingRight=\"5px\",r.innerHTML=t,i.appendChild(r),i.addEventListener(\"click\",(function(){l(r)})),this.map.controls[google.maps.ControlPosition.TOP_LEFT].push(a),this.controls.push(a)}},{key:\"disableControls\",value:function(){this.controls.forEach((function(e){e.style.display=\"none\"}))}},{key:\"enableControls\",value:function(){this.controls.forEach((function(e){e.style.display=\"block\"}))}},{key:\"getMarkerPosition\",value:function(e){var t=e.getPosition();return{lat:t.lat(),lng:t.lng()}}},{key:\"updatePolyline\",value:function(e,t){e.setPath(t)}},{key:\"removePolyline\",value:function(e){e.setMap(null)}},{key:\"applyCoordinateOffset\",value:function(e){var t=(0,o.default)(e,2),n=t[0],l=t[1];return(0,i.WGS84ToGCJ02)(n,l)}}]),e}();t.default=s}}]);"],"mappings":"AAAA","sourceRoot":""}
\ No newline at end of file
{"version":3,"file":"4.bundle.js","sources":["webpack:///4.bundle.js"],"sourcesContent":["(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{475:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var o=r(n(68)),l=r(n(1)),a=r(n(2)),i=n(172);function r(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,l.default)(this,e),this.map=null,this.controls=[]}return(0,a.default)(e,[{key:\"isInitialized\",value:function(){return null!==this.map}},{key:\"loadMap\",value:function(e,t){var n={center:e,zoom:20,mapTypeId:google.maps.MapTypeId.ROADMAP,fullscreenControl:!1};this.map=new google.maps.Map(document.getElementById(t),n)}},{key:\"setCenter\",value:function(e){this.map.setCenter(e)}},{key:\"setZoom\",value:function(e){this.map.setZoom(e)}},{key:\"addEventHandler\",value:function(e,t){google.maps.event.addListener(this.map,e,(function(e){var n=e.latLng;t(n)}))}},{key:\"createPoint\",value:function(e){var t=e.lat,n=e.lng;return new google.maps.LatLng(t,n)}},{key:\"createMarker\",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=new google.maps.Marker({position:e,label:t,draggable:n,map:this.map});return o}},{key:\"createPolyline\",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2,l=new google.maps.Polyline({path:e,geodesic:!0,strokeColor:t,strokeOpacity:n,strokeWeight:o,map:this.map});return l}},{key:\"createControl\",value:function(e){var t=e.text,n=e.tip,o=e.color,l=(e.offsetX,e.offsetY,e.onClickHandler),a=document.createElement(\"div\"),i=document.createElement(\"div\");i.style.backgroundColor=o,i.style.border=\"2px solid #fff\",i.style.borderRadius=\"3px\",i.style.boxShadow=\"0 2px 6px rgba(0,0,0,.3)\",i.style.cursor=\"pointer\",i.style.marginBottom=\"22px\",i.style.textAlign=\"center\",i.title=n,a.appendChild(i);var r=document.createElement(\"div\");r.style.color=\"rgb(25,25,25)\",r.style.fontFamily=\"Roboto,Arial,sans-serif\",r.style.fontSize=\"16px\",r.style.lineHeight=\"38px\",r.style.paddingLeft=\"5px\",r.style.paddingRight=\"5px\",r.innerHTML=t,i.appendChild(r),i.addEventListener(\"click\",(function(){l(r)})),this.map.controls[google.maps.ControlPosition.TOP_LEFT].push(a),this.controls.push(a)}},{key:\"disableControls\",value:function(){this.controls.forEach((function(e){e.style.display=\"none\"}))}},{key:\"enableControls\",value:function(){this.controls.forEach((function(e){e.style.display=\"block\"}))}},{key:\"getMarkerPosition\",value:function(e){var t=e.getPosition();return{lat:t.lat(),lng:t.lng()}}},{key:\"updatePolyline\",value:function(e,t){e.setPath(t)}},{key:\"removePolyline\",value:function(e){e.setMap(null)}},{key:\"applyCoordinateOffset\",value:function(e){var t=(0,o.default)(e,2),n=t[0],l=t[1];return(0,i.WGS84ToGCJ02)(n,l)}}]),e}();t.default=s}}]);"],"mappings":"AAAA","sourceRoot":""}
\ No newline at end of file
modules/dreamview/frontend/dist/app.bundle.js
浏览文件 @
70c24448
此差异已折叠。
点击以展开。
modules/dreamview/frontend/dist/app.bundle.js.map
浏览文件 @
70c24448
此差异已折叠。
点击以展开。
modules/dreamview/frontend/dist/fonts/droid/README.txt
浏览文件 @
70c24448
...
...
@@ -3,9 +3,9 @@ Copyright (C) 2008 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
...
...
modules/dreamview/frontend/dist/parameters.bundle.js
浏览文件 @
70c24448
!
function
(
e
){
var
t
=
{};
function
r
(
n
){
if
(
t
[
n
])
return
t
[
n
].
exports
;
var
o
=
t
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
o
.
exports
,
o
,
o
.
exports
,
r
),
o
.
l
=!
0
,
o
.
exports
}
r
.
m
=
e
,
r
.
c
=
t
,
r
.
d
=
function
(
e
,
t
,
n
){
r
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
n
})},
r
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
r
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
r
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
n
=
Object
.
create
(
null
);
if
(
r
.
r
(
n
),
Object
.
defineProperty
(
n
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
o
in
e
)
r
.
d
(
n
,
o
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
o
));
return
n
},
r
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
r
.
d
(
t
,
"
a
"
,
t
),
t
},
r
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
r
.
p
=
"
/
"
,
r
(
r
.
s
=
46
6
)}({
466
:
function
(
e
,
t
){
e
.
exports
=
'
module.exports = __webpack_public_path__ + "parameters.json";
'
}});
!
function
(
e
){
var
t
=
{};
function
r
(
n
){
if
(
t
[
n
])
return
t
[
n
].
exports
;
var
o
=
t
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
o
.
exports
,
o
,
o
.
exports
,
r
),
o
.
l
=!
0
,
o
.
exports
}
r
.
m
=
e
,
r
.
c
=
t
,
r
.
d
=
function
(
e
,
t
,
n
){
r
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
n
})},
r
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
r
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
r
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
n
=
Object
.
create
(
null
);
if
(
r
.
r
(
n
),
Object
.
defineProperty
(
n
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
o
in
e
)
r
.
d
(
n
,
o
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
o
));
return
n
},
r
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
r
.
d
(
t
,
"
a
"
,
t
),
t
},
r
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
r
.
p
=
"
/
"
,
r
(
r
.
s
=
46
7
)}({
467
:
function
(
e
,
t
){
e
.
exports
=
'
module.exports = __webpack_public_path__ + "parameters.json";
'
}});
//# sourceMappingURL=parameters.bundle.js.map
\ No newline at end of file
modules/dreamview/frontend/dist/parameters.bundle.js.map
浏览文件 @
70c24448
{"version":3,"file":"parameters.bundle.js","sources":["webpack:///parameters.bundle.js"],"sourcesContent":["!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,\"a\",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=\"/\",r(r.s=466)}({466:function(e,t){e.exports='module.exports = __webpack_public_path__ + \"parameters.json\";'}});"],"mappings":"AAAA","sourceRoot":""}
\ No newline at end of file
{"version":3,"file":"parameters.bundle.js","sources":["webpack:///parameters.bundle.js"],"sourcesContent":["!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,\"a\",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=\"/\",r(r.s=467)}({467:function(e,t){e.exports='module.exports = __webpack_public_path__ + \"parameters.json\";'}});"],"mappings":"AAAA","sourceRoot":""}
\ No newline at end of file
modules/dreamview/frontend/dist/worker.bundle.js
浏览文件 @
70c24448
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
modules/dreamview/frontend/dist/worker.bundle.js.map
浏览文件 @
70c24448
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
modules/dreamview/frontend/proto_bundle/sim_world_proto_bundle.json
浏览文件 @
70c24448
...
...
@@ -3193,6 +3193,44 @@
"ObjectAvoid"
:
{
"fields"
:
{}
},
"ObjectStatus"
:
{
"fields"
:
{
"motionType"
:
{
"type"
:
"ObjectMotionType"
,
"id"
:
1
},
"decisionType"
:
{
"type"
:
"ObjectDecisionType"
,
"id"
:
2
}
}
},
"ObjectStatic"
:
{
"fields"
:
{}
},
"ObjectDynamic"
:
{
"fields"
:
{}
},
"ObjectMotionType"
:
{
"oneofs"
:
{
"motionTag"
:
{
"oneof"
:
[
"static"
,
"dynamic"
]
}
},
"fields"
:
{
"static"
:
{
"type"
:
"ObjectStatic"
,
"id"
:
1
},
"dynamic"
:
{
"type"
:
"ObjectDynamic"
,
"id"
:
2
}
}
},
"ObjectDecisionType"
:
{
"oneofs"
:
{
"objectTag"
:
{
...
...
@@ -3203,7 +3241,8 @@
"yield"
,
"overtake"
,
"nudge"
,
"avoid"
"avoid"
,
"sidePass"
]
}
},
...
...
@@ -3235,6 +3274,10 @@
"avoid"
:
{
"type"
:
"ObjectAvoid"
,
"id"
:
7
},
"sidePass"
:
{
"type"
:
"ObjectSidePass"
,
"id"
:
8
}
}
},
...
...
@@ -3479,18 +3522,32 @@
},
"DpStSpeedConfig"
:
{
"fields"
:
{
"
matrixDimensionS
"
:
{
"type"
:
"
int32
"
,
"
unitT
"
:
{
"type"
:
"
double
"
,
"id"
:
1
,
"options"
:
{
"default"
:
1
00
"default"
:
1
}
},
"
matrixDimensionT
"
:
{
"
denseDimensionS
"
:
{
"type"
:
"int32"
,
"id"
:
2
,
"options"
:
{
"default"
:
10
"default"
:
41
}
},
"denseUnitS"
:
{
"type"
:
"double"
,
"id"
:
3
,
"options"
:
{
"default"
:
0.5
}
},
"sparseUnitS"
:
{
"type"
:
"double"
,
"id"
:
4
,
"options"
:
{
"default"
:
1
}
},
"speedWeight"
:
{
...
...
@@ -3570,30 +3627,16 @@
"default"
:
2.5
}
},
"exceedSoftSpeedPenalty"
:
{
"type"
:
"double"
,
"id"
:
34
,
"options"
:
{
"default"
:
0
}
},
"lowSoftSpeedPenalty"
:
{
"type"
:
"double"
,
"id"
:
35
,
"options"
:
{
"default"
:
0
}
},
"referenceSpeedPenalty"
:
{
"type"
:
"double"
,
"id"
:
3
6
,
"id"
:
3
4
,
"options"
:
{
"default"
:
1
}
},
"keepClearLowSpeedPenalty"
:
{
"type"
:
"double"
,
"id"
:
3
7
,
"id"
:
3
5
,
"options"
:
{
"default"
:
10
}
...
...
@@ -3653,6 +3696,13 @@
"options"
:
{
"default"
:
20
}
},
"spatialPotentialPenalty"
:
{
"type"
:
"double"
,
"id"
:
80
,
"options"
:
{
"default"
:
1
}
}
}
},
...
...
@@ -4875,11 +4925,13 @@
},
"DrivingAction"
:
{
"values"
:
{
"NONE"
:
100
,
"FOLLOW"
:
0
,
"CHANGE_LEFT"
:
1
,
"CHANGE_RIGHT"
:
2
,
"PULL_OVER"
:
3
,
"STOP"
:
4
"STOP"
:
4
,
"RESTART_CRUISE"
:
5
}
},
"PadMessage"
:
{
...
...
@@ -6900,6 +6952,17 @@
}
}
},
"PathReuseDeciderStatus"
:
{
"fields"
:
{
"reusedPath"
:
{
"type"
:
"bool"
,
"id"
:
1
,
"options"
:
{
"default"
:
true
}
}
}
},
"PedestrianStatus"
:
{
"fields"
:
{
"stopTime"
:
{
...
...
@@ -7095,37 +7158,41 @@
"type"
:
"PathDeciderStatus"
,
"id"
:
9
},
"pathReuseDecider"
:
{
"type"
:
"PathReuseDeciderStatus"
,
"id"
:
10
},
"pullOver"
:
{
"type"
:
"PullOverStatus"
,
"id"
:
1
0
"id"
:
1
1
},
"rerouting"
:
{
"type"
:
"ReroutingStatus"
,
"id"
:
1
1
"id"
:
1
2
},
"rightOfWay"
:
{
"type"
:
"RightOfWayStatus"
,
"id"
:
1
2
"id"
:
1
3
},
"scenario"
:
{
"type"
:
"ScenarioStatus"
,
"id"
:
1
3
"id"
:
1
4
},
"sidePass"
:
{
"type"
:
"SidePassStatus"
,
"id"
:
1
4
"id"
:
1
5
},
"stopSign"
:
{
"type"
:
"StopSignStatus"
,
"id"
:
1
5
"id"
:
1
6
},
"trafficLight"
:
{
"type"
:
"TrafficLightStatus"
,
"id"
:
1
6
"id"
:
1
7
},
"yieldSign"
:
{
"type"
:
"YieldSignStatus"
,
"id"
:
1
7
"id"
:
1
8
}
}
},
...
...
@@ -7655,6 +7722,17 @@
}
}
},
"STBoundsDeciderConfig"
:
{
"fields"
:
{
"totalTime"
:
{
"type"
:
"double"
,
"id"
:
1
,
"options"
:
{
"default"
:
7
}
}
}
},
"BacksideVehicleConfig"
:
{
"fields"
:
{
"backsideLaneWidth"
:
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录