Skip to content

Releases: uiwjs/react-amap

v6.0.5

23 Jun 17:44
Compare
Choose a tag to compare

v6.0.4

22 May 11:27
Compare
Choose a tag to compare

v6.0.3

05 Apr 04:49
Compare
Choose a tag to compare

Buy me a coffee npm bundle size

v6.0.2...v6.0.3

Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/57094b9/index.html

v6.0.2

02 Feb 02:58
Compare
Choose a tag to compare

v6.0.1

06 Dec 03:38
Compare
Choose a tag to compare

Buy me a coffee npm bundle size

v6.0.0...v6.0.1

  • 📈 perf: useLayoutEffect 替换 useEffect,改变销毁顺序,加一些 ts定义 (#347) d174fcc @starInEcust

Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/fb690db/index.html

v6.0.0

05 Dec 14:04
Compare
Choose a tag to compare

Buy me a coffee npm bundle size

v5.0.21...v6.0.0

Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/3d5e8ad/index.html

Map

v2.5.0+ -> v5 通过 props 传递 mapcontainerAMap 对象,在 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

01 Dec 02:25
Compare
Choose a tag to compare

Buy me a coffee npm bundle size

v5.0.20...v5.0.21

Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/ad6bd16/index.html

v5.0.20

28 Nov 08:11
Compare
Choose a tag to compare

Buy me a coffee npm bundle size

v5.0.19...v5.0.20

Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/70983f2/index.html

v5.0.19

23 Nov 15:03
Compare
Choose a tag to compare

npm bundle size

v5.0.18...v5.0.19

Document [email protected]:
https://raw.githack.com/uiwjs/react-amap/fcc1f5a/index.html

v5.0.18

08 Nov 18:00
Compare
Choose a tag to compare