Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-03-06 15:24:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0fda7f0cba4318a9197c11096c7b00cf481d9658
0fda7f0c
1 parent
f87f3363
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/by/map.vue
src/views/by/map.vue
View file @
0fda7f0
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-03-06 1
4:59
:22
* @LastEditTime: 2025-03-06 1
5:23
:22
* @FilePath: /map-demo/src/views/by/map.vue
* @Description: 公众地图主体页面
-->
...
...
@@ -429,7 +429,7 @@ export default {
}
let text_direction = entity_info[i]?.writing_mode === 'vertical' ? 'vertical' : 'horizontal';
let textMarker = new AMap.Text({
zooms: [1
8
, 20], // 点标记显示的层级范围,超过范围不显示。
zooms: [1
7
, 20], // 点标记显示的层级范围,超过范围不显示。
text: entity_info[i].name, //标记显示的文本内容
anchor: "center", //设置文本标记锚点位置
// draggable: true, //是否可拖拽
...
...
Please
register
or
login
to post a comment