Commit 8771b72e authored by zhengke's avatar zhengke

解决google地图无法加载

parent 0de36292
......@@ -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(" ");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment