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
e942f565
Commit
e942f565
authored
Aug 10, 2019
by
niuxiaolin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change hotspot maptype pixel size bounds
parent
3160fafc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
29 deletions
+29
-29
getscript.js
src/assets/getscript.js
+29
-29
No files found.
src/assets/getscript.js
View file @
e942f565
...
...
@@ -3433,7 +3433,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this
.
Pd
.
qv
.
length
=
0
}
});
function
R
(
a
,
b
)
{
function
Pixel
(
a
,
b
)
{
this
.
x
=
a
||
0
;
this
.
y
=
b
||
0
;
this
.
x
=
this
.
x
;
...
...
@@ -3443,7 +3443,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
return
a
&&
a
.
x
==
this
.
x
&&
a
.
y
==
this
.
y
}
;
function
P
(
a
,
b
)
{
function
Size
(
a
,
b
)
{
this
.
width
=
a
||
0
;
this
.
height
=
b
||
0
}
...
...
@@ -3451,9 +3451,9 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
return
a
&&
this
.
width
==
a
.
width
&&
this
.
height
==
a
.
height
}
;
function
kb
(
a
,
b
)
{
function
Hotspot
(
a
,
b
)
{
a
&&
(
this
.
Lb
=
a
,
this
.
ea
=
"spot"
+
kb
.
ea
++
,
this
.
ea
=
"spot"
+
Hotspot
.
ea
++
,
b
=
b
||
{},
this
.
Pg
=
b
.
text
||
""
,
this
.
Wu
=
b
.
offsets
?
b
.
offsets
.
slice
(
0
)
:
[
5
,
5
,
5
,
5
],
...
...
@@ -3461,8 +3461,8 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this
.
Ch
=
b
.
minZoom
||
s
,
this
.
Cf
=
b
.
maxZoom
||
s
)
}
kb
.
ea
=
0
;
z
.
extend
(
kb
.
prototype
,
{
Hotspot
.
ea
=
0
;
z
.
extend
(
Hotspot
.
prototype
,
{
xa
:
function
(
a
)
{
this
.
Ch
==
s
&&
(
this
.
Ch
=
a
.
U
.
gc
);
this
.
Cf
==
s
&&
(
this
.
Cf
=
a
.
U
.
pc
)
...
...
@@ -4065,7 +4065,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this
.
zh
=
t
}
});
function
hb
(
a
,
b
)
{
function
Bounds
(
a
,
b
)
{
a
&&
!
b
&&
(
b
=
a
);
this
.
Ge
=
this
.
Vd
=
this
.
Le
=
this
.
Xd
=
this
.
Al
=
this
.
ll
=
s
;
a
&&
(
this
.
Al
=
new
Point
(
a
.
lng
,
a
.
lat
),
...
...
@@ -4140,12 +4140,12 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
return
a
&&
this
.
lat
==
a
.
lat
&&
this
.
lng
==
a
.
lng
}
;
function
jc
()
{}
jc
.
prototype
.
qg
=
function
()
{
function
Projection
()
{}
Projection
.
prototype
.
qg
=
function
()
{
aa
(
"lngLatToPoint
\
u65b9
\
u6cd5
\
u672a
\
u5b9e
\
u73b0"
)
}
;
jc
.
prototype
.
oj
=
function
()
{
Projection
.
prototype
.
oj
=
function
()
{
aa
(
"pointToLngLat
\
u65b9
\
u6cd5
\
u672a
\
u5b9e
\
u73b0"
)
}
;
...
...
@@ -4181,9 +4181,9 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
mergeAttribute
(
lc
.
prototype
,
{
translate
:
lc
.
prototype
.
translate
});
function
S
()
{}
S
.
prototype
=
new
jc
;
z
.
extend
(
S
,
{
function
MercatorProjection
()
{}
MercatorProjection
.
prototype
=
new
jc
;
z
.
extend
(
MercatorProjection
,
{
uO
:
6370996.81
,
FF
:
[
1.289059486E7
,
8362377.87
,
5591021
,
3481989.83
,
1678043.12
,
0
],
cu
:
[
86
,
60
,
45
,
30
,
15
,
0
],
...
...
@@ -4275,20 +4275,20 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
return
a
}
});
z
.
extend
(
S
.
prototype
,
{
z
.
extend
(
MercatorProjection
.
prototype
,
{
bi
:
function
(
a
)
{
return
S
.
Gb
(
a
)
return
MercatorProjection
.
Gb
(
a
)
},
lngLatToPoint
:
function
(
a
)
{
a
=
S
.
Gb
(
a
);
a
=
MercatorProjection
.
Gb
(
a
);
return
new
R
(
a
.
lng
,
a
.
lat
)
},
eh
:
function
(
a
)
{
return
S
.
cc
(
a
)
return
MercatorProjection
.
cc
(
a
)
},
pointToLngLat
:
function
(
a
)
{
a
=
new
J
(
a
.
x
,
a
.
y
);
return
S
.
cc
(
a
)
a
=
new
Point
(
a
.
x
,
a
.
y
);
return
MercatorProjection
.
cc
(
a
)
},
Rb
:
function
(
a
,
b
,
c
,
e
,
f
)
{
if
(
a
)
...
...
@@ -4299,7 +4299,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
Ib
:
function
(
a
,
b
,
c
,
e
,
f
)
{
if
(
a
)
return
b
=
this
.
dc
(
b
),
this
.
eh
(
new
J
(
c
.
lng
+
b
*
(
a
.
x
-
e
.
width
/
2
),
c
.
lat
-
b
*
(
a
.
y
-
e
.
height
/
2
)),
f
)
this
.
eh
(
new
Point
(
c
.
lng
+
b
*
(
a
.
x
-
e
.
width
/
2
),
c
.
lat
-
b
*
(
a
.
y
-
e
.
height
/
2
)),
f
)
},
dc
:
function
(
a
)
{
return
Math
.
pow
(
2
,
18
-
a
)
...
...
@@ -4308,7 +4308,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
function
jb
()
{
this
.
Ti
=
"bj"
}
jb
.
prototype
=
new
S
;
jb
.
prototype
=
new
MercatorProjection
;
z
.
extend
(
jb
.
prototype
,
{
bi
:
function
(
a
,
b
)
{
return
this
.
IP
(
b
,
S
.
Gb
(
a
))
...
...
@@ -8085,7 +8085,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}
}
;
function
Dd
(
a
,
b
,
c
)
{
function
MapType
(
a
,
b
,
c
)
{
this
.
jd
=
a
;
this
.
$e
=
b
instanceof
TileLayer
?
[
b
]
:
b
.
slice
(
0
);
c
=
c
||
{};
...
...
@@ -10898,15 +10898,15 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}
};
BMap
.
Map
=
Map
;
BMap
.
Hotspot
=
kb
;
BMap
.
MapType
=
Dd
;
BMap
.
Hotspot
=
Hotspot
;
BMap
.
MapType
=
MapType
;
BMap
.
Point
=
Point
;
BMap
.
Pixel
=
R
;
BMap
.
Size
=
P
;
BMap
.
Bounds
=
hb
;
BMap
.
Pixel
=
Pixel
;
BMap
.
Size
=
Size
;
BMap
.
Bounds
=
Bounds
;
BMap
.
TileLayer
=
TileLayer
;
BMap
.
Projection
=
jc
;
BMap
.
MercatorProjection
=
S
;
BMap
.
Projection
=
Projection
;
BMap
.
MercatorProjection
=
MercatorProjection
;
BMap
.
PerspectiveProjection
=
jb
;
BMap
.
Copyright
=
function
(
a
,
b
,
c
)
{
this
.
id
=
a
;
...
...
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