Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
fk
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c0650ee9
authored
May 21, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
2fed410f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
js/global.js
js/global.js
View file @
c0650ee9
...
@@ -67,6 +67,7 @@
...
@@ -67,6 +67,7 @@
},
},
mapChange
:
function
()
{
mapChange
:
function
()
{
if
(
$
(
"#map"
).
length
>
0
)
{
// 初始化地图
// 初始化地图
var
map
=
new
BMap
.
Map
(
"map"
);
var
map
=
new
BMap
.
Map
(
"map"
);
var
point
=
new
BMap
.
Point
(
114.23859
,
22.313236
);
// 香港九龙观塘成业街27号日昇中心的经纬度
var
point
=
new
BMap
.
Point
(
114.23859
,
22.313236
);
// 香港九龙观塘成业街27号日昇中心的经纬度
...
@@ -98,6 +99,7 @@
...
@@ -98,6 +99,7 @@
marker
.
addEventListener
(
"click"
,
function
()
{
marker
.
addEventListener
(
"click"
,
function
()
{
map
.
openInfoWindow
(
infoWindow
,
point
);
map
.
openInfoWindow
(
infoWindow
,
point
);
});
});
}
},
},
handleBind
:
function
(
opt
)
{
handleBind
:
function
(
opt
)
{
...
...
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