Releases: uiwjs/react-amap
v6.0.2
npm i @uiw/[email protected]
- 🐞 fix(Rectangle): ignore error when map unmounted. (#326) e0af081 @jaywcjlove
Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/fe431e4/index.html
v6.0.1
npm i @uiw/[email protected]
- 📈 perf: useLayoutEffect 替换 useEffect,改变销毁顺序,加一些 ts定义 (#347) d174fcc @starInEcust
Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/fb690db/index.html
v6.0.0
npm i @uiw/[email protected]
- 🐞 fix: 删除默认icon,添加删除逻辑,修复初始化时销毁无法删除图层,添加ts定义,修改基本用法例子 (#344) 652ecbc @starInEcust
- 🐞 fix(LabelMarker): fix icon props. (#344) d285430 @jaywcjlove
- 🐞 fix: remove deprecated props. (#346) 893f3e6 @jaywcjlove
Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/3d5e8ad/index.html
Map
在 v2.5.0+ -> v5 通过 props 传递 map
,container
和 AMap
对象,在 v6 版本中移除了,通过 Context 传递对象
APILoader
export interface APILoaderProps extends APILoaderConfig {
/**
* 请使用 `key`
* @deprecated
*/
- akay?: string;
/**
* 请使用 `plugins`
* @deprecated
* @example `AMap.ToolBar,AMap.Driving`
*/
- plugin?: string;
}
LabelMarker
export interface LabelMarkerProps extends OverlayProps, AMap.LabelMarkerEvents, AMap.LabelMarkerOptions {
/**覆盖物是否可见 */
visiable?: boolean;
className?: string;
children?: JSX.Element;
/**
* 将在下一个版本 `v6+` 版本移除
* @deprecated use `onMouseDown`
*/
- onMousedown?(event: AMap.MapsEvent): void;
/**
* 将在下一个版本 `v6+` 版本移除
* @deprecated use `onMouseUp`
*/
- onMouseup?(event: AMap.MapsEvent): void;
/**
* 将在下一个版本 `v6+` 版本移除
* @deprecated use `onTouchStart`
*/
- onTouchstart?(event: AMap.MapsEvent): void;
/**
* 将在下一个版本 `v6+` 版本移除
* @deprecated use `onTouchMove`
*/
- onTouchmove?(event: AMap.MapsEvent): void;
/**
* 将在下一个版本 `v6+` 版本移除
* @deprecated use `onTouchEnd`
*/
- onTouchend?(event: AMap.MapsEvent): void;
/**
* 将在下一个版本 `v6+` 版本移除
* @deprecated use `onMouseMove`
*/
- onMousemove?(event: AMap.MapsEvent): void;
/**
* 将在下一个版本 `v6+` 版本移除
* @deprecated use `onMouseOver`
*/
- onMouseover?(event: AMap.MapsEvent): void;
/**
* 将在下一个版本 `v6+` 版本移除
* @deprecated use `onMouseOut`
*/
- onMouseout?(event: AMap.MapsEvent): void;
}
MarkerOptions
/**
* 要显示该 marker 的地图对象
* ~~v2.5.0+~~ 版本以上,不需要传递这个参数
* @deprecated
*/
- map?: Map;
v5.0.21
npm i @uiw/[email protected]
- 🌍 website: update menu 3c3c148 @jaywcjlove
- 🐞 fix(polygon): 修复polygon初始化时被react销毁,无法移除高德地图图层的问题 (#343) 3249708 @starInEcust
Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/ad6bd16/index.html
v5.0.20
npm i @uiw/[email protected]
- 💄 chore: add sponsor badge. a4c71ca @jaywcjlove
- 🐞 fix(deps): update dependency @uiw/react-markdown-preview-example to v2 (#339) ca5c571 @renovate-bot
- 💄 chore(deps): update dependency lerna to v8 (#338) e4901be @renovate-bot
- 🌍 website: modify kkt config. ac6c597 @jaywcjlove
Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/70983f2/index.html
v5.0.19
npm i @uiw/[email protected]
- 🐞 fix(LabelMarker): fix even props issue. (#337) f887b86 @jaywcjlove
- 🌍 website: update dependency @uiw/react-loader to ~4.22.0 aa66c83 @jaywcjlove
Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/fcc1f5a/index.html
v5.0.18
npm i @uiw/[email protected]
- 🐞 fix(ContextMenu): fix export ContextMenu issue. (#336) 0878d9c @jaywcjlove
Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/1d642c3/index.html
v5.0.17
npm i @uiw/[email protected]
- 🐞 fix(Polygon): fix unmount issue. (#333) d61ca8d @jaywcjlove
Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/0b97262/index.html
v5.0.16
npm i @uiw/[email protected]
- 🐞 fix(ContextMenu): fix context menu type error (#334) 53543b1 @berber1016
Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/788613e/index.html
v5.0.15
npm i @uiw/[email protected]
- 📖 doc(map): Update README.md 9638fef @jaywcjlove
- 💢 ci: update workflows config. 6a386e3 @jaywcjlove
- 🐞 fix(Polygon): fix render Polygon issue. (#333) 14a6210 @jaywcjlove
Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/1e943b1/index.html