Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
Details
Activity
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
王浩
zh-baseversion-project
Commits
6a22a02f
Commit
6a22a02f
authored
Aug 01, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 大屏端 地图上标注 之前都是避让,现在都调整成 不避让。
parent
fe0e3f4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
map.js
zh-baseversion-web/src/utils/mapClass/map.js
+6
-6
map.js
zh-baseversion-web/src/utils/mapClassForBigOld/map.js
+7
-7
No files found.
zh-baseversion-web/src/utils/mapClass/map.js
View file @
6a22a02f
...
...
@@ -637,7 +637,7 @@ export class EditorMap {
this
.
deviceUserlableLayer
=
new
AMap
.
LabelsLayer
({
zooms
:
[
3
,
20
],
zIndex
:
1000
,
collision
:
tru
e
,
//该层内标注是否避让
collision
:
fals
e
,
//该层内标注是否避让
allowCollision
:
false
,
//不同标注层之间是否避让
});
//设置一个图标对象
...
...
@@ -707,7 +707,7 @@ export class EditorMap {
this
.
videolabelLayer
=
new
AMap
.
LabelsLayer
({
zooms
:
[
3
,
20
],
zIndex
:
1000
,
collision
:
tru
e
,
//该层内标注是否避让
collision
:
fals
e
,
//该层内标注是否避让
allowCollision
:
false
,
//不同标注层之间是否避让
});
//设置一个图标对象
...
...
@@ -776,7 +776,7 @@ export class EditorMap {
this
.
czlabelLayer
=
new
AMap
.
LabelsLayer
({
zooms
:
[
3
,
20
],
zIndex
:
1000
,
collision
:
tru
e
,
//该层内标注是否避让
collision
:
fals
e
,
//该层内标注是否避让
allowCollision
:
false
,
//不同标注层之间是否避让
});
//设置一个图标对象
...
...
@@ -846,7 +846,7 @@ export class EditorMap {
this
.
fmjlabelLayer
=
new
AMap
.
LabelsLayer
({
zooms
:
[
3
,
20
],
zIndex
:
1000
,
collision
:
tru
e
,
//该层内标注是否避让
collision
:
fals
e
,
//该层内标注是否避让
allowCollision
:
false
,
//不同标注层之间是否避让
});
//设置一个图标对象
...
...
@@ -915,7 +915,7 @@ export class EditorMap {
this
.
tyxlabelsLayer
=
new
AMap
.
LabelsLayer
({
zooms
:
[
3
,
20
],
zIndex
:
1000
,
collision
:
tru
e
,
//该层内标注是否避让
collision
:
fals
e
,
//该层内标注是否避让
allowCollision
:
false
,
//不同标注层之间是否避让
});
//设置一个图标对象
...
...
@@ -1053,7 +1053,7 @@ export class EditorMap {
this
.
businessDetectorUserlabelsLayer
=
new
AMap
.
LabelsLayer
({
zooms
:
[
3
,
20
],
zIndex
:
1000
,
collision
:
tru
e
,
//该层内标注是否避让
collision
:
fals
e
,
//该层内标注是否避让
allowCollision
:
false
,
//不同标注层之间是否避让
});
//设置一个图标对象
...
...
zh-baseversion-web/src/utils/mapClassForBigOld/map.js
View file @
6a22a02f
...
...
@@ -621,7 +621,7 @@ export class EditorMap {
this
.
deviceUserlableLayer
=
new
AMap
.
LabelsLayer
({
zooms
:
[
3
,
20
],
zIndex
:
1000
,
collision
:
tru
e
,
//该层内标注是否避让
collision
:
fals
e
,
//该层内标注是否避让
allowCollision
:
false
,
//不同标注层之间是否避让
});
//设置一个图标对象
...
...
@@ -680,7 +680,7 @@ export class EditorMap {
this
.
videolabelLayer
=
new
AMap
.
LabelsLayer
({
zooms
:
[
3
,
20
],
zIndex
:
1000
,
collision
:
tru
e
,
//该层内标注是否避让
collision
:
fals
e
,
//该层内标注是否避让
allowCollision
:
false
,
//不同标注层之间是否避让
});
//设置一个图标对象
...
...
@@ -739,7 +739,7 @@ export class EditorMap {
this
.
czlabelLayer
=
new
AMap
.
LabelsLayer
({
zooms
:
[
3
,
20
],
zIndex
:
1000
,
collision
:
tru
e
,
//该层内标注是否避让
collision
:
fals
e
,
//该层内标注是否避让
allowCollision
:
false
,
//不同标注层之间是否避让
});
//设置一个图标对象
...
...
@@ -798,7 +798,7 @@ export class EditorMap {
this
.
fmjlabelLayer
=
new
AMap
.
LabelsLayer
({
zooms
:
[
3
,
20
],
zIndex
:
1000
,
collision
:
tru
e
,
//该层内标注是否避让
collision
:
fals
e
,
//该层内标注是否避让
allowCollision
:
false
,
//不同标注层之间是否避让
});
//设置一个图标对象
...
...
@@ -856,7 +856,7 @@ export class EditorMap {
this
.
tyxlabelsLayer
=
new
AMap
.
LabelsLayer
({
zooms
:
[
3
,
20
],
zIndex
:
1000
,
collision
:
tru
e
,
//该层内标注是否避让
collision
:
fals
e
,
//该层内标注是否避让
allowCollision
:
false
,
//不同标注层之间是否避让
});
//设置一个图标对象
...
...
@@ -924,7 +924,7 @@ export class EditorMap {
this
.
detectorUserlabelsLayer
=
new
AMap
.
LabelsLayer
({
zooms
:
[
3
,
20
],
zIndex
:
1000
,
collision
:
tru
e
,
//该层内标注是否避让
collision
:
fals
e
,
//该层内标注是否避让
allowCollision
:
false
,
//不同标注层之间是否避让
});
//设置一个图标对象
...
...
@@ -975,7 +975,7 @@ export class EditorMap {
this
.
businessDetectorUserlabelsLayer
=
new
AMap
.
LabelsLayer
({
zooms
:
[
3
,
20
],
zIndex
:
1000
,
collision
:
tru
e
,
//该层内标注是否避让
collision
:
fals
e
,
//该层内标注是否避让
allowCollision
:
false
,
//不同标注层之间是否避让
});
//设置一个图标对象
...
...
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