File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 265
265
pageControl .init ();
266
266
267
267
</script >
268
- <script src =" //ditu.google.cn /maps/api/js?v=3& ; sensor=false& ; language=en& ; callback=initializegooglemap " ></script >
268
+ <script src =" //ditu.google.com /maps/api/js?v=3& ; sensor=false& ; language=en& ; callback=initializegooglemap " ></script >
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ var pageControl = {
31
31
32
32
const googleLayer = new AMap . TileLayer ( {
33
33
tileUrl :
34
- "http://mt2.google.cn /vt/lyrs=y&hl=zh-CN&gl=cn&x=[x]&y=[y]&z=[z]&s=Galil" ,
34
+ "http://mt2.google.com /vt/lyrs=y&hl=zh-CN&gl=cn&x=[x]&y=[y]&z=[z]&s=Galil" ,
35
35
zIndex : 3 ,
36
36
} ) ;
37
37
@@ -46,7 +46,7 @@ var pageControl = {
46
46
} ) ;
47
47
48
48
const testGoogleImage = new Image ( ) ;
49
- testGoogleImage . src = `//mt2.google.cn /vt/lyrs=y&hl=zh-CN&gl=cn&x=17294&y=15469&z=15&s=Galil?t=${ + Math . random ( ) } ` ;
49
+ testGoogleImage . src = `//mt2.google.com /vt/lyrs=y&hl=zh-CN&gl=cn&x=17294&y=15469&z=15&s=Galil?t=${ + Math . random ( ) } ` ;
50
50
testGoogleImage . onload = ( ) => {
51
51
map . setLayers ( [ googleLayer ] ) ;
52
52
} ;
You can’t perform that action at this time.
0 commit comments