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 16:18:15 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
eda8d10469ebb0c3e965dd0ff2bd9503854f3738
eda8d104
1 parent
8438ab43
fix
Show 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 @
eda8d10
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-03-06 15:
23:22
* @LastEditTime: 2025-03-06 15:
57:00
* @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
7
, 20], // 点标记显示的层级范围,超过范围不显示。
zooms: [1
8
, 20], // 点标记显示的层级范围,超过范围不显示。
text: entity_info[i].name, //标记显示的文本内容
anchor: "center", //设置文本标记锚点位置
// draggable: true, //是否可拖拽
...
...
Please
register
or
login
to post a comment