Skip to content

Commit de4ac41

Browse files
committed
chore: update
1 parent f899bf1 commit de4ac41

9 files changed

Lines changed: 192 additions & 408 deletions

File tree

‎amapcn-skill/SKILL.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ Key props: `longitude`, `latitude` (required), `draggable`, `onDragStart`, `onDr
123123
<MapRoute
124124
coordinates={[[lng1, lat1], [lng2, lat2]]}
125125
color="#4285F4" width={4} opacity={0.8}
126-
dashed arrows animated
126+
dashed
127127
/>
128128
```
129129

130-
`dashed` — dashed line style; `arrows` — direction arrows; `animated` — moving marker via AMap.MoveAnimation.
130+
`dashed` — dashed line style.
131131

132132
### MapPolygon
133133

‎amapcn-skill/references/api-reference.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ Draws a polyline on the map connecting coordinates. Must be inside `Map`.
159159
| `width` | `number` | `4` | Stroke width in px |
160160
| `opacity` | `number` | `0.8` | Stroke opacity (0-1) |
161161
| `dashed` | `boolean` | `false` | Dashed line style |
162-
| `arrows` | `boolean` | `false` | Direction arrows along the route |
163-
| `animated` | `boolean` | `false` | Moving marker animation (AMap.MoveAnimation) |
164162
| `onClick` | `() => void` | — | Click callback |
165163

166164
## MapClusterLayer

‎amapcn-skill/references/examples.md‎

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -98,24 +98,13 @@ const [visible, setVisible] = useState(true);
9898
</Map>
9999
```
100100

101-
## Route with Dashed Style and Arrows
101+
## Route with Dashed Style
102102

103103
```tsx
104104
<MapRoute
105105
coordinates={[[116.397, 39.909], [116.407, 39.919], [116.417, 39.929]]}
106106
color="#3b82f6"
107107
dashed
108-
arrows
109-
/>
110-
```
111-
112-
## Route with Animation
113-
114-
```tsx
115-
<MapRoute
116-
coordinates={[[116.397, 39.909], [116.407, 39.919], [116.417, 39.929]]}
117-
color="#3b82f6"
118-
animated
119108
/>
120109
```
121110

0 commit comments

Comments
 (0)