hookehuyr

fix

1 <!-- 1 <!--
2 * @Date: 2023-05-19 14:54:27 2 * @Date: 2023-05-19 14:54:27
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-03-06 14:59:22 4 + * @LastEditTime: 2025-03-06 15:23:22
5 * @FilePath: /map-demo/src/views/by/map.vue 5 * @FilePath: /map-demo/src/views/by/map.vue
6 * @Description: 公众地图主体页面 6 * @Description: 公众地图主体页面
7 --> 7 -->
...@@ -429,7 +429,7 @@ export default { ...@@ -429,7 +429,7 @@ export default {
429 } 429 }
430 let text_direction = entity_info[i]?.writing_mode === 'vertical' ? 'vertical' : 'horizontal'; 430 let text_direction = entity_info[i]?.writing_mode === 'vertical' ? 'vertical' : 'horizontal';
431 let textMarker = new AMap.Text({ 431 let textMarker = new AMap.Text({
432 - zooms: [18, 20], // 点标记显示的层级范围,超过范围不显示。 432 + zooms: [17, 20], // 点标记显示的层级范围,超过范围不显示。
433 text: entity_info[i].name, //标记显示的文本内容 433 text: entity_info[i].name, //标记显示的文本内容
434 anchor: "center", //设置文本标记锚点位置 434 anchor: "center", //设置文本标记锚点位置
435 // draggable: true, //是否可拖拽 435 // draggable: true, //是否可拖拽
......