@mint-ui/map 0.7.2-beta → 0.7.4-beta

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.
Files changed (67) hide show
  1. package/.eslintrc.js +109 -109
  2. package/LICENSE +21 -21
  3. package/README.md +73 -73
  4. package/dist/components/mint-map/MintMap.d.ts +10 -10
  5. package/dist/components/mint-map/MintMap.js +6 -6
  6. package/dist/components/mint-map/core/MintMapCanvasRenderer.d.ts +4 -4
  7. package/dist/components/mint-map/core/MintMapController.d.ts +69 -66
  8. package/dist/components/mint-map/core/MintMapController.js +62 -10
  9. package/dist/components/mint-map/core/MintMapCore.d.ts +3 -3
  10. package/dist/components/mint-map/core/advanced/MapBuildingProjection.d.ts +15 -15
  11. package/dist/components/mint-map/core/advanced/MapLoadingComponents.d.ts +17 -17
  12. package/dist/components/mint-map/core/advanced/index.d.ts +3 -3
  13. package/dist/components/mint-map/core/advanced/shapes/CircleMarker.d.ts +22 -22
  14. package/dist/components/mint-map/core/advanced/shapes/CircleMarker.js +6 -6
  15. package/dist/components/mint-map/core/advanced/shapes/PolygonMarker.d.ts +28 -28
  16. package/dist/components/mint-map/core/advanced/shapes/PolygonMarker.js +6 -6
  17. package/dist/components/mint-map/core/advanced/shapes/base/SVGCircle.d.ts +8 -8
  18. package/dist/components/mint-map/core/advanced/shapes/base/SVGPolygon.d.ts +12 -12
  19. package/dist/components/mint-map/core/advanced/shapes/base/SVGRect.d.ts +10 -10
  20. package/dist/components/mint-map/core/advanced/shapes/base/index.d.ts +3 -3
  21. package/dist/components/mint-map/core/advanced/shapes/index.d.ts +3 -3
  22. package/dist/components/mint-map/core/hooks/MarkerMovingHook.d.ts +6 -6
  23. package/dist/components/mint-map/core/hooks/index.d.ts +1 -1
  24. package/dist/components/mint-map/core/index.d.ts +8 -8
  25. package/dist/components/mint-map/core/provider/MintMapProvider.d.ts +8 -8
  26. package/dist/components/mint-map/core/provider/index.d.ts +1 -1
  27. package/dist/components/mint-map/core/util/animation.d.ts +16 -16
  28. package/dist/components/mint-map/core/util/cluster.d.ts +18 -18
  29. package/dist/components/mint-map/core/util/geo.d.ts +38 -38
  30. package/dist/components/mint-map/core/util/index.d.ts +7 -7
  31. package/dist/components/mint-map/core/util/log.d.ts +1 -1
  32. package/dist/components/mint-map/core/util/polygon.d.ts +42 -42
  33. package/dist/components/mint-map/core/util/status.d.ts +9 -9
  34. package/dist/components/mint-map/core/util/waiting.d.ts +1 -1
  35. package/dist/components/mint-map/core/wrapper/MapCanvasMarkerWrapper.d.ts +27 -27
  36. package/dist/components/mint-map/core/wrapper/MapCanvasMarkerWrapper.js +6 -6
  37. package/dist/components/mint-map/core/wrapper/MapCanvasWrapper.d.ts +11 -11
  38. package/dist/components/mint-map/core/wrapper/MapCanvasWrapper.js +6 -6
  39. package/dist/components/mint-map/core/wrapper/MapControlWrapper.d.ts +19 -19
  40. package/dist/components/mint-map/core/wrapper/MapControlWrapper.js +6 -6
  41. package/dist/components/mint-map/core/wrapper/MapMarkerWrapper.d.ts +51 -51
  42. package/dist/components/mint-map/core/wrapper/MapMarkerWrapper.js +6 -6
  43. package/dist/components/mint-map/core/wrapper/MapPolygonWrapper.d.ts +12 -12
  44. package/dist/components/mint-map/core/wrapper/MapPolygonWrapper.js +6 -6
  45. package/dist/components/mint-map/core/wrapper/MapPolylineWrapper.d.ts +12 -12
  46. package/dist/components/mint-map/core/wrapper/MapPolylineWrapper.js +6 -6
  47. package/dist/components/mint-map/core/wrapper/index.d.ts +6 -6
  48. package/dist/components/mint-map/google/GoogleMintMapController.d.ts +53 -51
  49. package/dist/components/mint-map/google/GoogleMintMapController.js +17 -6
  50. package/dist/components/mint-map/index.d.ts +5 -5
  51. package/dist/components/mint-map/kakao/KakaoMintMapController.d.ts +57 -55
  52. package/dist/components/mint-map/kakao/KakaoMintMapController.js +22 -13
  53. package/dist/components/mint-map/naver/NaverMintMapController.d.ts +55 -53
  54. package/dist/components/mint-map/naver/NaverMintMapController.js +20 -11
  55. package/dist/components/mint-map/types/CommonTypes.d.ts +11 -11
  56. package/dist/components/mint-map/types/MapDrawables.d.ts +118 -118
  57. package/dist/components/mint-map/types/MapDrawables.js +8 -8
  58. package/dist/components/mint-map/types/MapEventTypes.d.ts +44 -44
  59. package/dist/components/mint-map/types/MapTypes.d.ts +60 -60
  60. package/dist/components/mint-map/types/MapTypes.js +13 -13
  61. package/dist/components/mint-map/types/MintMapEvents.d.ts +25 -25
  62. package/dist/components/mint-map/types/MintMapProps.d.ts +106 -101
  63. package/dist/components/mint-map/types/index.d.ts +6 -6
  64. package/dist/index.d.ts +7 -7
  65. package/dist/index.es.js +195 -114
  66. package/dist/index.umd.js +195 -114
  67. package/package.json +77 -77
@@ -1,101 +1,106 @@
1
- /// <reference types="react" />
2
- import { MapType } from "./CommonTypes";
3
- import { Position } from "./MapTypes";
4
- import { MintMapEvents } from "./MintMapEvents";
5
- /**
6
- * Mint Map Props
7
- */
8
- export interface MintMapProps extends MintMapEvents {
9
- /**
10
- * Mint Map 에서 지원하는 지도 타입
11
- */
12
- mapType: MapType | null;
13
- /**
14
- * Map 종류에 따른 인증키
15
- * @description 지도 타입에 맞는 키를 입력해야한다.
16
- */
17
- mapKey: string;
18
- /**
19
- * Map Script 로드시에 지도 타입에 따라 로드할 서브 모듈 목록
20
- * @description 지도 타입에 맞는 서브모듈을 지정해야한다.
21
- */
22
- scriptModules?: string[];
23
- /**
24
- * Map 종류에 따른 추가 맵 ID
25
- * @description 특정 지도에서는 맵ID 가 추가로 요구된다 (ex: Google Maps)
26
- */
27
- mapId?: string;
28
- /**
29
- * 지도의 기본 설정 정보
30
- */
31
- base?: BaseProps;
32
- /**
33
- * 지도의 보기 설정
34
- */
35
- visible?: boolean;
36
- /**
37
- * 지도 중심 좌표
38
- */
39
- center?: Position;
40
- /**
41
- * center 값을 통해 지도의 중심 으로 이동할때 panning 효과 적용 여부
42
- */
43
- centerMoveWithPanning?: boolean;
44
- /**
45
- * 지도 줌레벨
46
- */
47
- zoomLevel?: number;
48
- /**
49
- * 마우스의 드래그로 지도 위치 움직임 가능 여부
50
- */
51
- draggable?: boolean;
52
- /**
53
- * 키보드 방향키로 지도 위치 움직임 가능 여부
54
- */
55
- keyboardShortcuts?: boolean;
56
- /**
57
- * 마커 cache 사용 여부
58
- */
59
- markerCache?: boolean;
60
- /**
61
- * 마커 cache 사용시 초기 pool 갯수
62
- */
63
- markerCachePoolSize?: number;
64
- /**
65
- * 마커 cache 사용시 초기 pool 갯수
66
- */
67
- boundsChangeThrottlingTime?: number;
68
- /**
69
- * 로딩 완료 후 장면전환 효과 여부
70
- */
71
- dissolveEffectWhenLoaded?: boolean;
72
- /**
73
- * 맵 로딩화면
74
- */
75
- mapLoadingComponent?: () => JSX.Element;
76
- /**
77
- * 디버그
78
- */
79
- debug?: boolean;
80
- }
81
- /**
82
- * 지도의 기본 설정
83
- */
84
- export interface BaseProps {
85
- /**
86
- * 지도 시작시의 중심 좌표
87
- */
88
- center?: Position;
89
- /**
90
- * 지도 시작시의 줌레벨
91
- */
92
- zoomLevel?: number;
93
- /**
94
- * 지도의 최대 줌 레벨
95
- */
96
- maxZoomLevel?: number;
97
- /**
98
- * 지도의 최소 줌 레벨
99
- */
100
- minZoomLevel?: number;
101
- }
1
+ /// <reference types="react" />
2
+ import { MapType } from "./CommonTypes";
3
+ import { Position } from "./MapTypes";
4
+ import { MintMapEvents } from "./MintMapEvents";
5
+ import { Property } from "csstype";
6
+ /**
7
+ * Mint Map Props
8
+ */
9
+ export interface MintMapProps extends MintMapEvents {
10
+ /**
11
+ * Mint Map 에서 지원하는 지도 타입
12
+ */
13
+ mapType: MapType | null;
14
+ /**
15
+ * Map 종류에 따른 인증키
16
+ * @description 각 지도 타입에 맞는 키를 입력해야한다.
17
+ */
18
+ mapKey: string;
19
+ /**
20
+ * Map Script 로드시에 지도 타입에 따라 로드할 서브 모듈 목록
21
+ * @description 각 지도 타입에 맞는 서브모듈을 지정해야한다.
22
+ */
23
+ scriptModules?: string[];
24
+ /**
25
+ * Map 종류에 따른 추가 ID
26
+ * @description 특정 지도에서는 맵ID 가 추가로 요구된다 (ex: Google Maps)
27
+ */
28
+ mapId?: string;
29
+ /**
30
+ * 지도의 기본 설정 정보
31
+ */
32
+ base?: BaseProps;
33
+ /**
34
+ * 지도의 보기 설정
35
+ */
36
+ visible?: boolean;
37
+ /**
38
+ * 지도 중심 좌표
39
+ */
40
+ center?: Position;
41
+ /**
42
+ * center 값을 통해 지도의 중심 으로 이동할때 panning 효과 적용 여부
43
+ */
44
+ centerMoveWithPanning?: boolean;
45
+ /**
46
+ * 지도 줌레벨
47
+ */
48
+ zoomLevel?: number;
49
+ /**
50
+ * 마우스의 드래그로 지도 위치 움직임 가능 여부
51
+ */
52
+ draggable?: boolean;
53
+ /**
54
+ * 키보드 방향키로 지도 위치 움직임 가능 여부
55
+ */
56
+ keyboardShortcuts?: boolean;
57
+ /**
58
+ * 마커 cache 사용 여부
59
+ */
60
+ markerCache?: boolean;
61
+ /**
62
+ * 마커 cache 사용시 초기 pool 갯수
63
+ */
64
+ markerCachePoolSize?: number;
65
+ /**
66
+ * 마커 cache 사용시 초기 pool 갯수
67
+ */
68
+ boundsChangeThrottlingTime?: number;
69
+ /**
70
+ * 로딩 완료 후 장면전환 효과 여부
71
+ */
72
+ dissolveEffectWhenLoaded?: boolean;
73
+ /**
74
+ * 맵 로딩화면
75
+ */
76
+ mapLoadingComponent?: () => JSX.Element;
77
+ /**
78
+ * 디버그
79
+ */
80
+ debug?: boolean;
81
+ }
82
+ /**
83
+ * 지도의 기본 설정
84
+ */
85
+ export interface BaseProps {
86
+ /**
87
+ * 지도 시작시의 중심 좌표
88
+ */
89
+ center?: Position;
90
+ /**
91
+ * 지도 시작시의 줌레벨
92
+ */
93
+ zoomLevel?: number;
94
+ /**
95
+ * 지도의 최대 줌 레벨
96
+ */
97
+ maxZoomLevel?: number;
98
+ /**
99
+ * 지도의 최소 줌 레벨
100
+ */
101
+ minZoomLevel?: number;
102
+ /**
103
+ * 지도의 기본 커서
104
+ */
105
+ mapCursor?: Property.Cursor;
106
+ }
@@ -1,6 +1,6 @@
1
- export * from './CommonTypes';
2
- export * from './MapDrawables';
3
- export * from './MapTypes';
4
- export * from './MintMapEvents';
5
- export * from './MintMapProps';
6
- export * from './MapEventTypes';
1
+ export * from './CommonTypes';
2
+ export * from './MapDrawables';
3
+ export * from './MapTypes';
4
+ export * from './MintMapEvents';
5
+ export * from './MintMapProps';
6
+ export * from './MapEventTypes';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- /**
2
- * 인덱스 모듈
3
- *
4
- * @author RWB
5
- * @since 2022.05.19 Thu 01:37:54
6
- */
7
- export * from './components/mint-map';
1
+ /**
2
+ * 인덱스 모듈
3
+ *
4
+ * @author RWB
5
+ * @since 2022.05.19 Thu 01:37:54
6
+ */
7
+ export * from './components/mint-map';