Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
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
micro_app
gk
Commits
e6ea68a3
Commit
e6ea68a3
authored
Dec 17, 2023
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更换成高德地图
parent
31deb0ed
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
contact.js
src/main/webapp/static/js/contact.js
+3
-3
road-new.js
src/main/webapp/static/js/road-new.js
+3
-3
route.js
src/main/webapp/static/js/route.js
+3
-3
No files found.
src/main/webapp/static/js/contact.js
View file @
e6ea68a3
...
@@ -242,15 +242,15 @@ var map = {
...
@@ -242,15 +242,15 @@ var map = {
mapContainer
:
'map'
,
mapContainer
:
'map'
,
instance
:
null
,
instance
:
null
,
initMap
:
function
()
{
initMap
:
function
()
{
var
satelliteTile
=
L
.
tileLayer
(
'http
s://mt0.google.cn/vt/lyrs=y&hl=zh-CN&gl=CN&x={x}&y={y}&z={z}&s=Galil&scale=2
'
,
{
var
satelliteTile
=
L
.
tileLayer
(
'http
://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}
'
,
{
id
:
'satelliteTile'
,
id
:
'satelliteTile'
,
maxZoom
:
20
maxZoom
:
20
});
});
var
terrainTile
=
L
.
tileLayer
(
'http
s://mt0.google.cn/vt/lyrs=p&hl=zh-CN&gl=CN&x={x}&y={y}&z={z}&s=Galil&scale=2
'
,
{
var
terrainTile
=
L
.
tileLayer
(
'http
://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}
'
,
{
id
:
'terrainTile'
,
id
:
'terrainTile'
,
maxZoom
:
20
maxZoom
:
20
});
});
var
googleTile
=
L
.
tileLayer
(
'http
s://mt0.google.cn/vt/lyrs=m&hl=zh-CN&gl=CN&x={x}&y={y}&z={z}&s=Galil&scale=2
'
,
{
var
googleTile
=
L
.
tileLayer
(
'http
://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}
'
,
{
id
:
'googleTile'
,
id
:
'googleTile'
,
maxZoom
:
20
maxZoom
:
20
});
});
...
...
src/main/webapp/static/js/road-new.js
View file @
e6ea68a3
...
@@ -291,15 +291,15 @@ var map = {
...
@@ -291,15 +291,15 @@ var map = {
instance
:
null
,
instance
:
null
,
initMap
:
function
()
{
initMap
:
function
()
{
console
.
log
(
map
.
mapContainer
)
console
.
log
(
map
.
mapContainer
)
var
satelliteTile
=
L
.
tileLayer
(
'http
s://mt0.google.cn/vt/lyrs=y&hl=zh-CN&gl=CN&x={x}&y={y}&z={z}&s=Galil&scale=2
'
,
{
var
satelliteTile
=
L
.
tileLayer
(
'http
://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}
'
,
{
id
:
'satelliteTile'
,
id
:
'satelliteTile'
,
maxZoom
:
20
maxZoom
:
20
});
});
var
terrainTile
=
L
.
tileLayer
(
'http
s://mt0.google.cn/vt/lyrs=p&hl=zh-CN&gl=CN&x={x}&y={y}&z={z}&s=Galil&scale=2
'
,
{
var
terrainTile
=
L
.
tileLayer
(
'http
://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}
'
,
{
id
:
'terrainTile'
,
id
:
'terrainTile'
,
maxZoom
:
20
maxZoom
:
20
});
});
var
googleTile
=
L
.
tileLayer
(
'http
s://mt0.google.cn/vt/lyrs=m&hl=zh-CN&gl=CN&x={x}&y={y}&z={z}&s=Galil&scale=2
'
,
{
var
googleTile
=
L
.
tileLayer
(
'http
://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}
'
,
{
id
:
'googleTile'
,
id
:
'googleTile'
,
maxZoom
:
20
maxZoom
:
20
});
});
...
...
src/main/webapp/static/js/route.js
View file @
e6ea68a3
...
@@ -23,15 +23,15 @@ $(document).ready(function () {
...
@@ -23,15 +23,15 @@ $(document).ready(function () {
instance
:
null
,
instance
:
null
,
initMap
:
function
()
{
initMap
:
function
()
{
console
.
log
(
map
.
mapContainer
)
console
.
log
(
map
.
mapContainer
)
var
satelliteTile
=
L
.
tileLayer
(
'http
s://mt0.google.cn/vt/lyrs=y&hl=zh-CN&gl=CN&x={x}&y={y}&z={z}&s=Galil&scale=2
'
,
{
var
satelliteTile
=
L
.
tileLayer
(
'http
://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}
'
,
{
id
:
'satelliteTile'
,
id
:
'satelliteTile'
,
maxZoom
:
20
maxZoom
:
20
});
});
var
terrainTile
=
L
.
tileLayer
(
'http
s://mt0.google.cn/vt/lyrs=p&hl=zh-CN&gl=CN&x={x}&y={y}&z={z}&s=Galil&scale=2
'
,
{
var
terrainTile
=
L
.
tileLayer
(
'http
://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}
'
,
{
id
:
'terrainTile'
,
id
:
'terrainTile'
,
maxZoom
:
20
maxZoom
:
20
});
});
var
googleTile
=
L
.
tileLayer
(
'http
s://mt0.google.cn/vt/lyrs=m&hl=zh-CN&gl=CN&x={x}&y={y}&z={z}&s=Galil&scale=2
'
,
{
var
googleTile
=
L
.
tileLayer
(
'http
://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}
'
,
{
id
:
'googleTile'
,
id
:
'googleTile'
,
maxZoom
:
20
maxZoom
:
20
});
});
...
...
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