Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
华国豪
Athena
Commits
ad42f2a8
Commit
ad42f2a8
authored
2 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
39a4bb40
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
35 deletions
+47
-35
index.html
public/index.html
+47
-35
No files found.
public/index.html
View file @
ad42f2a8
...
...
@@ -28,7 +28,9 @@
}
});
</script>
<script
type=
"text/javascript"
src=
"http://www.google.cn/maps/api/js?key=AIzaSyAZ5MIfzicStzKbIkbI3RcBBeZBjQFKsp0&libraries=geometry&language=zh_CN"
></script>
<script
type=
"text/javascript"
src=
"http://www.google.cn/maps/api/js?key=AIzaSyAZ5MIfzicStzKbIkbI3RcBBeZBjQFKsp0&libraries=geometry&language=zh_CN"
>
</script>
<script>
(
function
(
$
)
{
var
supportedCSS
,
styles
=
document
.
getElementsByTagName
(
"head"
)[
0
].
style
,
...
...
@@ -188,7 +190,8 @@
this
.
_container
.
style
.
height
=
height
;
this
.
_container
.
style
.
position
=
"absolute"
;
this
.
_container
.
setAttribute
(
'coordsize'
,
width
-
1
+
','
+
(
height
-
1
));
// This -1, -1 trying to fix ugly problem with small displacement on IE
1
));
// This -1, -1 trying to fix ugly problem with small displacement on IE
this
.
_container
.
appendChild
(
this
.
_vimage
);
this
.
_rootObj
.
appendChild
(
this
.
_container
);
...
...
@@ -309,7 +312,8 @@
.
_heightHalf
);
// we move image back to its orginal
this
.
_cnv
.
rotate
(
angle
);
// rotate image
this
.
_cnv
.
translate
(
-
this
.
_widthHalf
,
-
this
.
_heightHalf
);
// move image to its center, so we can rotate around its center
.
_heightHalf
);
// move image to its center, so we can rotate around its center
this
.
_cnv
.
scale
(
this
.
_aspectW
,
this
.
_aspectH
);
// SCALE - if needed ;)
this
.
_cnv
.
drawImage
(
this
.
_img
,
0
,
0
);
// First - we draw image
}
...
...
@@ -340,8 +344,10 @@
function
inherits
(
childCtor
,
parentCtor
)
{
/** @constructor */
function
tempCtor
()
{};
if
(
parentCtor
&&
parentCtor
.
prototype
)
{
tempCtor
.
prototype
=
parentCtor
.
prototype
;
childCtor
.
superClass_
=
parentCtor
.
prototype
;
}
childCtor
.
prototype
=
new
tempCtor
();
/** @override */
childCtor
.
prototype
.
constructor
=
childCtor
;
...
...
@@ -774,6 +780,7 @@
}
this
.
eventDiv_
.
style
.
display
=
this
.
labelDiv_
.
style
.
display
;
};
function
MarkerWithLabel
(
opt_options
)
{
opt_options
=
opt_options
||
{};
opt_options
.
labelContent
=
opt_options
.
labelContent
||
""
;
...
...
@@ -829,14 +836,19 @@
google
.
maps
.
MarkerWithLabel
=
MarkerWithLabel
;
</script>
<script>
document
.
ondragover
=
function
(
e
)
{
e
.
preventDefault
();
};
document
.
ondrop
=
function
(
e
)
{
e
.
preventDefault
();
};
document
.
ondragover
=
function
(
e
)
{
e
.
preventDefault
();
};
document
.
ondrop
=
function
(
e
)
{
e
.
preventDefault
();
};
$
(
document
).
on
(
"dragstart"
,
function
(
e
)
{
return
false
;
});
</script>
<!-- <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> -->
<script
type=
"text/javascript"
src=
"https://webapi.amap.com/maps?v=1.3&key=86f2f611126f36b93cf2ef280300524f&plugin=AMap.CitySearch"
></script>
<script
type=
"text/javascript"
src=
"https://webapi.amap.com/maps?v=1.3&key=86f2f611126f36b93cf2ef280300524f&plugin=AMap.CitySearch"
></script>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<title>
athena
</title>
</head>
...
...
This diff is collapsed.
Click to expand it.
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