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
8771b72e
Commit
8771b72e
authored
Feb 24, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决google地图无法加载
parent
0de36292
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
index.html
public/index.html
+21
-2
No files found.
public/index.html
View file @
8771b72e
...
...
@@ -9,8 +9,27 @@
<!-- <script type="text/javascript" src="http://api.map.baidu.com/api?v=3.0&ak=z58ZwNa8oYvzEYI6dD8hAS0GFbfKpttP"></script>
<script type="text/javascript" src="http://api.map.baidu.com/library/CurveLine/1.5/src/CurveLine.min.js"></script> -->
<script
src=
"http://lib.sinaapp.com/js/jquery/2.0.2/jquery-2.0.2.min.js"
></script>
<script
type=
"text/javascript"
src=
"http://activity.oytour.com/google.js?key=AIzaSyAZ5MIfzicStzKbIkbI3RcBBeZBjQFKsp0&language=zh-CN"
></script>
<script>
<!-- <script type="text/javascript" src="http://activity.oytour.com/google.js?key=AIzaSyAZ5MIfzicStzKbIkbI3RcBBeZBjQFKsp0&language=zh-CN"></script> -->
<!-- <script type="text/javascript" src="https://www.google.cn/maps/api/js?key=AIzaSyC1oB2m5qPIWBo6oV0myQ7h85n8plX5Xls&libraries=geometry&language=zh_CN&callback=__googleMapResourceLoaded"></script> -->
<!-- <script type="text/javascript" src="http://activity.oytour.com/googleMap_New.js?key=AIzaSyAZ5MIfzicStzKbIkbI3RcBBeZBjQFKsp0&language=zh-CN"></script> -->
<script
type=
"text/javascript"
>
window
.
google
=
{
maps
:
{}
};
var
_load
=
void
0
,
loadScriptTime
=
(
new
Date
).
getTime
();
Object
.
defineProperty
(
google
.
maps
,
'Load'
,
{
configurable
:
false
,
get
:
function
()
{
return
_load
},
set
:
function
set
(
v
)
{
eval
(
"_load = "
+
v
.
toString
().
replace
(
"maps.google.cn"
,
"www.google.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
,
toCheck
=
"transformProperty WebkitTransform OTransform msTransform MozTransform"
.
split
(
" "
);
...
...
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