From c89cc9b0a78726ad0e0f44d856f3d41c43aa2773 Mon Sep 17 00:00:00 2001 From: Anne_LXM <liuxiaomei@dcloud.io> Date: Wed, 17 Jul 2024 17:02:14 +0800 Subject: [PATCH] =?UTF-8?q?map.md=E8=A1=A5=E5=85=85=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E5=85=BC=E5=AE=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/component/map.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/component/map.md b/docs/component/map.md index 89777f671..a622be059 100644 --- a/docs/component/map.md +++ b/docs/component/map.md @@ -37,6 +37,7 @@ |circles|Array||圆|| |controls|Array||控件|| |include-points|Array||缩放视野以包å«æ‰€æœ‰ç»™å®šçš„åæ ‡ç‚¹|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åºã€H5ã€ç™¾åº¦å°ç¨‹åºã€æ”¯ä»˜å®å°ç¨‹åºã€äº¬ä¸œå°ç¨‹åº| +|zIndex|number|false|显示层级|微信å°ç¨‹åº2.3.0| |enable-3D|Boolean|false|是å¦æ˜¾ç¤º3D楼å—|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åº2.3.0| |show-compass|Boolean|false|是å¦æ˜¾ç¤ºæŒ‡å—é’ˆ|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åº2.3.0| |enable-zoom|Boolean|true|是å¦æ”¯æŒç¼©æ”¾|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åº2.3.0| @@ -90,7 +91,7 @@ |alpha|æ ‡æ³¨çš„é€æ˜Žåº¦|Number|å¦|默认1ï¼Œæ— é€æ˜Žï¼ŒèŒƒå›´ 0 ~ 1|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åºã€æ”¯ä»˜å®å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åºã€äº¬ä¸œå°ç¨‹åº| |width|æ ‡æ³¨å›¾æ ‡å®½åº¦|Number|å¦|默认为图片实际宽度|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åºã€H5ã€æ”¯ä»˜å®å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åºã€äº¬ä¸œå°ç¨‹åº| |height|æ ‡æ³¨å›¾æ ‡é«˜åº¦|Number|å¦|默认为图片实际高度|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åºã€H5ã€æ”¯ä»˜å®å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åºã€äº¬ä¸œå°ç¨‹åº| -|callout|è‡ªå®šä¹‰æ ‡è®°ç‚¹ä¸Šæ–¹çš„æ°”æ³¡çª—å£|Object|å¦|支æŒçš„属性è§ä¸‹è¡¨ï¼Œå¯è¯†åˆ«æ¢è¡Œç¬¦ã€‚|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åºã€æ”¯ä»˜å®å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åºã€äº¬ä¸œå°ç¨‹åº| +|callout|è‡ªå®šä¹‰æ ‡è®°ç‚¹ä¸Šæ–¹çš„æ°”æ³¡çª—å£|Object|å¦|支æŒçš„属性è§ä¸‹è¡¨ï¼Œå¯è¯†åˆ«æ¢è¡Œç¬¦ã€‚|App-nvue 2.1.5+ã€H5ã€å¾®ä¿¡å°ç¨‹åºã€æ”¯ä»˜å®å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åºã€äº¬ä¸œå°ç¨‹åº| |label|ä¸ºæ ‡è®°ç‚¹æ—è¾¹å¢žåŠ æ ‡ç¾|Object|å¦|支æŒçš„属性è§ä¸‹è¡¨ï¼Œå¯è¯†åˆ«æ¢è¡Œç¬¦ã€‚|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åºã€H5ã€Appã€ç™¾åº¦å°ç¨‹åºã€æ”¯ä»˜å®å°ç¨‹åº| |anchor|ç»çº¬åº¦åœ¨æ ‡æ³¨å›¾æ ‡çš„锚点,默认底边ä¸ç‚¹|Object|å¦|{x, y},x表示横å‘(0-1),y表示竖å‘(0-1)。{x: .5, y: 1} 表示底边ä¸ç‚¹|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åºã€H5ã€ç™¾åº¦å°ç¨‹åºã€äº¬ä¸œå°ç¨‹åº| |clusterId|自定义点èšåˆç°‡æ•ˆæžœæ—¶ä½¿ç”¨|Number|å¦||App-nvue 3.1.0+ã€å¾®ä¿¡å°ç¨‹åº| @@ -126,11 +127,11 @@ |y |labelçš„åæ ‡ï¼ŒåŽŸç‚¹æ˜¯ marker 对应的ç»çº¬åº¦|Number|H5ã€ç™¾åº¦å°ç¨‹åº| |anchorX |labelçš„åæ ‡ï¼ŒåŽŸç‚¹æ˜¯ marker 对应的ç»çº¬åº¦|Number|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åº| |anchorY |labelçš„åæ ‡ï¼ŒåŽŸç‚¹æ˜¯ marker 对应的ç»çº¬åº¦|Number|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åº| -|borderWidth|边框宽度|Number|微信å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åº| -|borderColor|边框颜色|String|微信å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åº| -|borderRadius|边框圆角|Number|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åºã€æ”¯ä»˜å®å°ç¨‹åº| -|bgColor|背景色|String|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åºã€æ”¯ä»˜å®å°ç¨‹åº| -|padding|文本边缘留白|Number|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åºã€æ”¯ä»˜å®å°ç¨‹åº| +|borderWidth|边框宽度|Number|H5ã€å¾®ä¿¡å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åº| +|borderColor|边框颜色|String|H5ã€å¾®ä¿¡å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åº| +|borderRadius|边框圆角|Number|App-nvue 2.1.5+ã€H5ã€å¾®ä¿¡å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åºã€æ”¯ä»˜å®å°ç¨‹åº| +|bgColor|背景色|String|App-nvue 2.1.5+ã€H5ã€å¾®ä¿¡å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åºã€æ”¯ä»˜å®å°ç¨‹åº| +|padding|文本边缘留白|Number|App-nvue 2.1.5+ã€H5ã€å¾®ä¿¡å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åºã€æ”¯ä»˜å®å°ç¨‹åº| |textAlign|文本对é½æ–¹å¼ã€‚有效值: left, right, center|String|App-nvue 2.1.5+ã€å¾®ä¿¡å°ç¨‹åºã€ç™¾åº¦å°ç¨‹åº| |aria-label|æ— éšœç¢è®¿é—®ï¼Œï¼ˆå±žæ€§ï¼‰å…ƒç´ çš„é¢å¤–æè¿°|String|App-nvue 3.1.0+ã€å¾®ä¿¡å°ç¨‹åº| -- GitLab