Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_street
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
android
android_street
Commits
fd038c65
Commit
fd038c65
authored
Aug 06, 2021
by
fengruiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
js修改
parent
6cefe223
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
zsmap.js
app/src/main/assets/web/zsmap.js
+9
-1
No files found.
app/src/main/assets/web/zsmap.js
View file @
fd038c65
...
...
@@ -267,8 +267,15 @@ var vm = new Vue({
var
point
=
B_MAP
.
getCenter
();
this
.
initCenter
(
point
)
var
tog
=
false
;
if
(
zoom
>=
8
){
tog
=
true
}
//小于9不切换
if
(
point
.
lng
>
180
||
point
.
lng
<-
180
){
tog
=
true
;
}
if
(
zoom
<
8
)
//小于9不切换
if
(
tog
==
false
)
return
;
getLocation
(
point
,
function
(
res
)
{
...
...
@@ -307,6 +314,7 @@ var vm = new Vue({
window
.
onload
=
function
()
{
// console.log("window.load_+++++++++++=")170.89184781519282,-9.108152184807182
allIsOk
();
//vm.initZsMap('{"lng": 116.62140839829881, "lat": 39.86241650494492}')
}
...
...
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