Skip to content

Commit

Permalink
doc(map): Update README.md #289
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 16, 2022
1 parent b61963d commit 6b16878
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/map/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ export default Demo;
```js
import { useMapContext, Provider } from '@uiw/react-baidu-map';

const { AMaps, map, container, state, dispatch } = useMapContext();
// => state.AMaps
const { BMap, map, container, state, dispatch } = useMapContext();
// => state.BMap
// => state.map
// => state.container
```
Expand Down Expand Up @@ -308,4 +308,4 @@ export default Demo;
| onTouchStart | 触摸开始时触发此事件,仅适用移动设备 | (event: {type: string, target: any, point: Point, pixel}): void; |
| onTouchMove | 触摸移动时触发此事件,仅适用移动设备 | (event: {type: string, target: any, point: Point, pixel}): void; |
| onTouchEnd | 触摸结束时触发此事件,仅适用移动设备 | (event: {type: string, target: any, point: Point, pixel}): void; |
| onLongPress | 长按事件,仅适用移动设备 | (event: {type: string, target: any, point: Point, pixel}): void; |
| onLongPress | 长按事件,仅适用移动设备 | (event: {type: string, target: any, point: Point, pixel}): void; |

0 comments on commit 6b16878

Please sign in to comment.