@heycar/heycars-map 0.6.11 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Demo/Demo.d.ts +1 -0
- package/dist/business-components/BusinessTaxiServiceMap/BusinessTaxiServiceSection.d.ts +4 -0
- package/dist/business-components/PassengerCircle/PassengerCircle.d.ts +2 -0
- package/dist/hooks/useDeviceOrientation.d.ts +16 -0
- package/dist/hooks/useMapInChina.d.ts +10 -0
- package/dist/hooks/useMapPlace.d.ts +3 -0
- package/dist/hooks/useMapRecomendPlace.d.ts +6 -0
- package/dist/hooks-business/useBusinessRecomendPlaceMap.d.ts +3 -0
- package/dist/index.cjs +1636 -41
- package/dist/index.js +1636 -41
- package/dist/types/interface.d.ts +1 -0
- package/dist/utils/transform.d.ts +6 -0
- package/package.json +1 -1
|
@@ -18,9 +18,15 @@ export declare const pipeOnlyLastEffect: <P extends any[], R>(fn: (...arg: P) =>
|
|
|
18
18
|
export declare const isPlaceEqual: (p1: Place, p2?: Place) => boolean;
|
|
19
19
|
export declare const isPointEqual: (p1: Point, p2?: Point) => boolean;
|
|
20
20
|
export declare const isGeoPositionEqual: (p1: GeolocationPosition, p2?: GeolocationPosition) => boolean;
|
|
21
|
+
interface AmapPlaceName2DisplayNameOptions extends AMap.AddressComponent {
|
|
22
|
+
isChina: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare const amapPlaceName2DisplayName: (name: string, options: AmapPlaceName2DisplayNameOptions) => string;
|
|
21
25
|
export declare const toPlaceType: (maybePlace: {
|
|
26
|
+
displayName?: string;
|
|
22
27
|
name: string;
|
|
23
28
|
lng: string | number;
|
|
24
29
|
lat: string | number;
|
|
25
30
|
}) => Place;
|
|
26
31
|
export declare const wxGetLocationSuccessResponse2GeolocationPosition: (res: WxGetLocationSuccessResponse) => GeolocationPosition;
|
|
32
|
+
export {};
|