From b8cb53af9df37b8c46e05fb5c06d45d641563b67 Mon Sep 17 00:00:00 2001 From: zhoubichuan Date: Sun, 25 Feb 2024 19:49:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/.vuepress/components/Container.vue | 2 +- src/base/attribute/2.map.md | 12 ++++++------ src/base/attribute/4.view.md | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/.vuepress/components/Container.vue b/src/.vuepress/components/Container.vue index 99bef1d5..13e8363b 100644 --- a/src/.vuepress/components/Container.vue +++ b/src/.vuepress/components/Container.vue @@ -38,7 +38,7 @@ export default { }, computed: { getUrl() { - if (location.href.includes("localhost:3009")) { + if (location.href.includes("localhost:3010")) { return "http://localhost:8090" + this.url; } return this.url; diff --git a/src/base/attribute/2.map.md b/src/base/attribute/2.map.md index b005db7a..cc3c89a8 100644 --- a/src/base/attribute/2.map.md +++ b/src/base/attribute/2.map.md @@ -10,9 +10,9 @@ meta: # 二.Map 事件 -## 1.鼠标触发事件 +## 1.鼠标事件 -### 1.2 singleclick +### 1.1 singleclick 鼠标单击地图触发的事件(鼠标若在 250ms 内连续单击地图,则不会触发该事件) @@ -24,11 +24,11 @@ meta: ::: -### 1.3 dbclick +### 1.2 dbclick -鼠标双击地图触发的事件(鼠标在 250ms 内单击两次地图) +鼠标双击地图触发的事件(鼠标在 250ms 内单击两次地图),同上 -### 1.4 pointermove +### 1.3 pointermove | on 方法 | 作用 | 配置 | | ----------- | ---------------------------------------------------------------- | ---- | @@ -44,7 +44,7 @@ meta: ::: -### 1.5 pointerdrag +### 1.4 pointerdrag 鼠标按下拖动地图触发的事件 diff --git a/src/base/attribute/4.view.md b/src/base/attribute/4.view.md index 908edec4..dcf9bf08 100644 --- a/src/base/attribute/4.view.md +++ b/src/base/attribute/4.view.md @@ -176,7 +176,7 @@ meta: ::: -## 1.常用方法: +## 13.地图动画与特效 - getRotation 获取视图旋转。 @@ -188,7 +188,7 @@ meta: ::: -## 3.其属性方法: +## 14.其属性方法 - getAnimating 确定视图是否处于动画状态。 - getInteracting 确定用户是否正在与视图进行交互,例如平移或缩放。