@mint-ui/map 0.10.0-beta-test2 → 1.0.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/.eslintrc.js +109 -109
- package/LICENSE +21 -21
- package/README.md +81 -73
- package/dist/components/mint-map/MintMap.d.ts +10 -10
- package/dist/components/mint-map/MintMap.js +6 -6
- package/dist/components/mint-map/core/MintMapCanvasRenderer.d.ts +4 -4
- package/dist/components/mint-map/core/MintMapController.d.ts +70 -70
- package/dist/components/mint-map/core/MintMapController.js +9 -9
- package/dist/components/mint-map/core/MintMapCore.d.ts +3 -3
- package/dist/components/mint-map/core/advanced/MapBuildingProjection.d.ts +15 -15
- package/dist/components/mint-map/core/advanced/MapLoadingComponents.d.ts +17 -17
- package/dist/components/mint-map/core/advanced/canvas/CanvasMarker.d.ts +18 -18
- package/dist/components/mint-map/core/advanced/canvas/CanvasMarker.js +0 -1
- package/dist/components/mint-map/core/advanced/canvas/draw/canvas-util.d.ts +5 -5
- package/dist/components/mint-map/core/advanced/canvas/index.d.ts +1 -1
- package/dist/components/mint-map/core/advanced/index.d.ts +4 -4
- package/dist/components/mint-map/core/advanced/shapes/CircleMarker.d.ts +22 -22
- package/dist/components/mint-map/core/advanced/shapes/CircleMarker.js +6 -6
- package/dist/components/mint-map/core/advanced/shapes/PolygonMarker.d.ts +28 -28
- package/dist/components/mint-map/core/advanced/shapes/PolygonMarker.js +6 -6
- package/dist/components/mint-map/core/advanced/shapes/base/SVGCircle.d.ts +8 -8
- package/dist/components/mint-map/core/advanced/shapes/base/SVGPolygon.d.ts +12 -12
- package/dist/components/mint-map/core/advanced/shapes/base/SVGRect.d.ts +10 -10
- package/dist/components/mint-map/core/advanced/shapes/base/index.d.ts +3 -3
- package/dist/components/mint-map/core/advanced/shapes/index.d.ts +3 -3
- package/dist/components/mint-map/core/hooks/MarkerMovingHook.d.ts +6 -6
- package/dist/components/mint-map/core/hooks/index.d.ts +1 -1
- package/dist/components/mint-map/core/index.d.ts +8 -8
- package/dist/components/mint-map/core/provider/MintMapProvider.d.ts +8 -8
- package/dist/components/mint-map/core/provider/index.d.ts +1 -2
- package/dist/components/mint-map/core/util/animation.d.ts +16 -16
- package/dist/components/mint-map/core/util/cluster.d.ts +18 -18
- package/dist/components/mint-map/core/util/geo.d.ts +38 -38
- package/dist/components/mint-map/core/util/index.d.ts +8 -8
- package/dist/components/mint-map/core/util/log.d.ts +1 -1
- package/dist/components/mint-map/core/util/map.d.ts +2 -2
- package/dist/components/mint-map/core/util/polygon.d.ts +42 -42
- package/dist/components/mint-map/core/util/status.d.ts +9 -9
- package/dist/components/mint-map/core/util/waiting.d.ts +1 -1
- package/dist/components/mint-map/core/wrapper/MapCanvasMarkerWrapper.d.ts +27 -27
- package/dist/components/mint-map/core/wrapper/MapCanvasMarkerWrapper.js +6 -6
- package/dist/components/mint-map/core/wrapper/MapCanvasWrapper.d.ts +11 -11
- package/dist/components/mint-map/core/wrapper/MapCanvasWrapper.js +6 -6
- package/dist/components/mint-map/core/wrapper/MapControlWrapper.d.ts +20 -20
- package/dist/components/mint-map/core/wrapper/MapControlWrapper.js +6 -6
- package/dist/components/mint-map/core/wrapper/MapMarkerWrapper.d.ts +51 -51
- package/dist/components/mint-map/core/wrapper/MapMarkerWrapper.js +6 -20
- package/dist/components/mint-map/core/wrapper/MapPolygonWrapper.d.ts +12 -12
- package/dist/components/mint-map/core/wrapper/MapPolygonWrapper.js +6 -6
- package/dist/components/mint-map/core/wrapper/MapPolylineWrapper.d.ts +12 -12
- package/dist/components/mint-map/core/wrapper/MapPolylineWrapper.js +6 -6
- package/dist/components/mint-map/core/wrapper/index.d.ts +6 -6
- package/dist/components/mint-map/google/GoogleMintMapController.d.ts +53 -53
- package/dist/components/mint-map/index.d.ts +5 -5
- package/dist/components/mint-map/kakao/KakaoMintMapController.d.ts +57 -57
- package/dist/components/mint-map/kakao/KakaoMintMapController.js +7 -7
- package/dist/components/mint-map/naver/NaverMintMapController.d.ts +55 -55
- package/dist/components/mint-map/naver/NaverMintMapController.js +5 -5
- package/dist/components/mint-map/types/CommonTypes.d.ts +11 -11
- package/dist/components/mint-map/types/MapDrawables.d.ts +118 -118
- package/dist/components/mint-map/types/MapDrawables.js +8 -8
- package/dist/components/mint-map/types/MapEventTypes.d.ts +44 -44
- package/dist/components/mint-map/types/MapTypes.d.ts +60 -60
- package/dist/components/mint-map/types/MapTypes.js +13 -13
- package/dist/components/mint-map/types/MintMapEvents.d.ts +25 -25
- package/dist/components/mint-map/types/MintMapProps.d.ts +111 -111
- package/dist/components/mint-map/types/index.d.ts +6 -6
- package/dist/index.d.ts +7 -7
- package/dist/index.es.js +97 -193
- package/dist/index.js +0 -4
- package/dist/index.umd.js +96 -195
- package/package.json +77 -77
- package/dist/components/mint-map/core/provider/MarkerAutoTransitionProvider.d.ts +0 -20
- package/dist/components/mint-map/core/provider/MarkerAutoTransitionProvider.js +0 -105
package/dist/index.es.js
CHANGED
|
@@ -473,23 +473,23 @@ function () {
|
|
|
473
473
|
return PolygonCalculator;
|
|
474
474
|
}();
|
|
475
475
|
|
|
476
|
-
/**
|
|
477
|
-
* 좌표값
|
|
478
|
-
* @description 위도/경도, DOM 상의 X/Y 좌표
|
|
476
|
+
/**
|
|
477
|
+
* 좌표값
|
|
478
|
+
* @description 위도/경도, DOM 상의 X/Y 좌표
|
|
479
479
|
*/
|
|
480
480
|
|
|
481
481
|
var Position =
|
|
482
482
|
/** @class */
|
|
483
483
|
function () {
|
|
484
484
|
function Position(lat, lng) {
|
|
485
|
-
/**
|
|
486
|
-
* 위도
|
|
487
|
-
* @description 위도(latitude)
|
|
485
|
+
/**
|
|
486
|
+
* 위도
|
|
487
|
+
* @description 위도(latitude)
|
|
488
488
|
*/
|
|
489
489
|
this.lat = 0;
|
|
490
|
-
/**
|
|
491
|
-
* 경도
|
|
492
|
-
* @description 경도(longitude)
|
|
490
|
+
/**
|
|
491
|
+
* 경도
|
|
492
|
+
* @description 경도(longitude)
|
|
493
493
|
*/
|
|
494
494
|
|
|
495
495
|
this.lng = 0;
|
|
@@ -597,15 +597,15 @@ function () {
|
|
|
597
597
|
|
|
598
598
|
return Bounds;
|
|
599
599
|
}();
|
|
600
|
-
/**
|
|
601
|
-
* DOM 상에서의 좌표를 표현 (픽셀을 나타내는 숫자)
|
|
600
|
+
/**
|
|
601
|
+
* DOM 상에서의 좌표를 표현 (픽셀을 나타내는 숫자)
|
|
602
602
|
*/
|
|
603
603
|
|
|
604
604
|
var Offset =
|
|
605
605
|
/** @class */
|
|
606
606
|
function () {
|
|
607
|
-
/**
|
|
608
|
-
* DOM 상에서의 좌표를 표현 (픽셀을 나타내는 숫자)
|
|
607
|
+
/**
|
|
608
|
+
* DOM 상에서의 좌표를 표현 (픽셀을 나타내는 숫자)
|
|
609
609
|
*/
|
|
610
610
|
function Offset(x, y) {
|
|
611
611
|
this.x = x;
|
|
@@ -1145,12 +1145,12 @@ function () {
|
|
|
1145
1145
|
MintMapController.prototype.getRandomFunctionName = function (prefix) {
|
|
1146
1146
|
return "".concat(prefix, "_").concat(v4().replace(/-/g, '_'));
|
|
1147
1147
|
};
|
|
1148
|
-
/**
|
|
1149
|
-
* URL 빌더 메서드
|
|
1150
|
-
*
|
|
1151
|
-
* @param {string} baseUrl: 기본 URL
|
|
1152
|
-
* @param {{ [ key: string ]: string | string[] }} param: 파라미터 JSON
|
|
1153
|
-
* @returns {string} URL
|
|
1148
|
+
/**
|
|
1149
|
+
* URL 빌더 메서드
|
|
1150
|
+
*
|
|
1151
|
+
* @param {string} baseUrl: 기본 URL
|
|
1152
|
+
* @param {{ [ key: string ]: string | string[] }} param: 파라미터 JSON
|
|
1153
|
+
* @returns {string} URL
|
|
1154
1154
|
*/
|
|
1155
1155
|
|
|
1156
1156
|
|
|
@@ -1163,9 +1163,9 @@ function () {
|
|
|
1163
1163
|
}).join('&');
|
|
1164
1164
|
return "".concat(baseUrl, "?").concat(params);
|
|
1165
1165
|
};
|
|
1166
|
-
/**
|
|
1167
|
-
* 쓰로틀링 처리
|
|
1168
|
-
* @returns
|
|
1166
|
+
/**
|
|
1167
|
+
* 쓰로틀링 처리
|
|
1168
|
+
* @returns
|
|
1169
1169
|
*/
|
|
1170
1170
|
|
|
1171
1171
|
|
|
@@ -1772,11 +1772,11 @@ function (_super) {
|
|
|
1772
1772
|
var map = marker.native.getMap();
|
|
1773
1773
|
|
|
1774
1774
|
if (map) {
|
|
1775
|
-
/** 중요!!!!
|
|
1776
|
-
* naver 마커의 setOption(MarkerOptions) 은 내부적으로 setMap 을 무조건 강제 처리한다!!!
|
|
1777
|
-
* setMap 을 처리하면 맵의 이벤트리스너 등등이 모두 초기화 되고 다시 맵을 add 하면서 마커관련된 모든 초기화가 다시 일어난다.
|
|
1778
|
-
* (심지어 map 이 기존과 같은 객체인데도 초기화 처리함)
|
|
1779
|
-
* 그래서 민트맵에서는 update 를 지원하는 항목별로 명시적으로 각각 처리한다.
|
|
1775
|
+
/** 중요!!!!
|
|
1776
|
+
* naver 마커의 setOption(MarkerOptions) 은 내부적으로 setMap 을 무조건 강제 처리한다!!!
|
|
1777
|
+
* setMap 을 처리하면 맵의 이벤트리스너 등등이 모두 초기화 되고 다시 맵을 add 하면서 마커관련된 모든 초기화가 다시 일어난다.
|
|
1778
|
+
* (심지어 map 이 기존과 같은 객체인데도 초기화 처리함)
|
|
1779
|
+
* 그래서 민트맵에서는 update 를 지원하는 항목별로 명시적으로 각각 처리한다.
|
|
1780
1780
|
*/
|
|
1781
1781
|
//Position
|
|
1782
1782
|
if (options.position && options.position instanceof Position) {
|
|
@@ -3516,13 +3516,13 @@ function (_super) {
|
|
|
3516
3516
|
};
|
|
3517
3517
|
|
|
3518
3518
|
KakaoMintMapController.prototype.getSafeZoomValue = function (value) {
|
|
3519
|
-
/**
|
|
3520
|
-
* 카카오는 구글/네이버와 다르게 줌레벨이 작아질수록 확대된다 (가장 확대된 것이 0)
|
|
3521
|
-
* - 가장 확대된 값 : 1
|
|
3522
|
-
* - 가장 축소된 값 : 14
|
|
3523
|
-
*
|
|
3524
|
-
* 그래서 세계지도가 없는 카카오는 동일한 사정인 네이버와 매핑하기로 한다.
|
|
3525
|
-
* 문제는 둘 간의 줌 레벨별 축척이 일치하지 않는다. 그래서 가장 유사한 레벨 끼리 매핑이 필요하다
|
|
3519
|
+
/**
|
|
3520
|
+
* 카카오는 구글/네이버와 다르게 줌레벨이 작아질수록 확대된다 (가장 확대된 것이 0)
|
|
3521
|
+
* - 가장 확대된 값 : 1
|
|
3522
|
+
* - 가장 축소된 값 : 14
|
|
3523
|
+
*
|
|
3524
|
+
* 그래서 세계지도가 없는 카카오는 동일한 사정인 네이버와 매핑하기로 한다.
|
|
3525
|
+
* 문제는 둘 간의 줌 레벨별 축척이 일치하지 않는다. 그래서 가장 유사한 레벨 끼리 매핑이 필요하다
|
|
3526
3526
|
*/
|
|
3527
3527
|
var mapValue = this.getBaseToMapZoom(value);
|
|
3528
3528
|
|
|
@@ -3725,12 +3725,12 @@ function makeBaseProps(base) {
|
|
|
3725
3725
|
!base.zoomLevel && (base.zoomLevel = DEFAULT_ZOOM_LEVEL);
|
|
3726
3726
|
return base;
|
|
3727
3727
|
}
|
|
3728
|
-
/**
|
|
3729
|
-
* Mint Map 컴포넌트
|
|
3730
|
-
*
|
|
3731
|
-
* @param {MintMapProps} MintMapProps
|
|
3732
|
-
*
|
|
3733
|
-
* @returns {JSX.Element} JSX
|
|
3728
|
+
/**
|
|
3729
|
+
* Mint Map 컴포넌트
|
|
3730
|
+
*
|
|
3731
|
+
* @param {MintMapProps} MintMapProps
|
|
3732
|
+
*
|
|
3733
|
+
* @returns {JSX.Element} JSX
|
|
3734
3734
|
*/
|
|
3735
3735
|
|
|
3736
3736
|
|
|
@@ -3890,8 +3890,8 @@ var Marker =
|
|
|
3890
3890
|
/** @class */
|
|
3891
3891
|
function (_super) {
|
|
3892
3892
|
__extends(Marker, _super);
|
|
3893
|
-
/**
|
|
3894
|
-
* 지도에 표시할 마커정보
|
|
3893
|
+
/**
|
|
3894
|
+
* 지도에 표시할 마커정보
|
|
3895
3895
|
*/
|
|
3896
3896
|
|
|
3897
3897
|
|
|
@@ -3909,8 +3909,8 @@ var Polyline =
|
|
|
3909
3909
|
/** @class */
|
|
3910
3910
|
function (_super) {
|
|
3911
3911
|
__extends(Polyline, _super);
|
|
3912
|
-
/**
|
|
3913
|
-
* 지도에 표시할 폴리곤정보
|
|
3912
|
+
/**
|
|
3913
|
+
* 지도에 표시할 폴리곤정보
|
|
3914
3914
|
*/
|
|
3915
3915
|
|
|
3916
3916
|
|
|
@@ -3928,8 +3928,8 @@ var Polygon =
|
|
|
3928
3928
|
/** @class */
|
|
3929
3929
|
function (_super) {
|
|
3930
3930
|
__extends(Polygon, _super);
|
|
3931
|
-
/**
|
|
3932
|
-
* 지도에 표시할 폴리곤정보
|
|
3931
|
+
/**
|
|
3932
|
+
* 지도에 표시할 폴리곤정보
|
|
3933
3933
|
*/
|
|
3934
3934
|
|
|
3935
3935
|
|
|
@@ -3939,8 +3939,8 @@ function (_super) {
|
|
|
3939
3939
|
_this.options = options;
|
|
3940
3940
|
return _this;
|
|
3941
3941
|
}
|
|
3942
|
-
/**
|
|
3943
|
-
* 폴리곤의 중점을 구한다.
|
|
3942
|
+
/**
|
|
3943
|
+
* 폴리곤의 중점을 구한다.
|
|
3944
3944
|
*/
|
|
3945
3945
|
|
|
3946
3946
|
|
|
@@ -4283,89 +4283,6 @@ function useMarkerMoving(_a) {
|
|
|
4283
4283
|
return [start, stop, resume];
|
|
4284
4284
|
}
|
|
4285
4285
|
|
|
4286
|
-
var MarkerAutoTransitionContext = createContext({
|
|
4287
|
-
option: {
|
|
4288
|
-
sizeInMeter: 2,
|
|
4289
|
-
type: 'diagonal'
|
|
4290
|
-
},
|
|
4291
|
-
transition: function (pos) {
|
|
4292
|
-
return {
|
|
4293
|
-
pos: pos,
|
|
4294
|
-
no: undefined
|
|
4295
|
-
};
|
|
4296
|
-
}
|
|
4297
|
-
}); // provider
|
|
4298
|
-
|
|
4299
|
-
var baseCenter = new Position(37.504497373023206, 127.04896282498558);
|
|
4300
|
-
function MarkerAutoTransitionProvider(_a) {
|
|
4301
|
-
var children = _a.children,
|
|
4302
|
-
_b = _a.sizeInMeter,
|
|
4303
|
-
sizeInMeter = _b === void 0 ? 2 : _b,
|
|
4304
|
-
_c = _a.type,
|
|
4305
|
-
type = _c === void 0 ? 'diagonal' : _c;
|
|
4306
|
-
var controller = useMintMapController();
|
|
4307
|
-
|
|
4308
|
-
var _d = useState(controller.getZoomLevel()),
|
|
4309
|
-
zoom = _d[0],
|
|
4310
|
-
setZoom = _d[1];
|
|
4311
|
-
|
|
4312
|
-
useEffect(function () {
|
|
4313
|
-
var onZoomChanged = function () {
|
|
4314
|
-
setZoom(controller.getZoomLevel());
|
|
4315
|
-
};
|
|
4316
|
-
|
|
4317
|
-
controller.addEventListener('ZOOM_CHANGED', onZoomChanged);
|
|
4318
|
-
return function () {
|
|
4319
|
-
controller.removeEventListener('ZOOM_CHANGED', onZoomChanged);
|
|
4320
|
-
};
|
|
4321
|
-
}, []);
|
|
4322
|
-
var calcSize = typeof sizeInMeter === 'number' ? sizeInMeter : sizeInMeter(controller.getZoomLevel());
|
|
4323
|
-
var deltaLat = GeoCalulator.convertMeterToLatitudeValue(calcSize);
|
|
4324
|
-
var offset1 = controller.positionToOffset(baseCenter);
|
|
4325
|
-
var offset2 = controller.positionToOffset(new Position(baseCenter.lat + deltaLat, baseCenter.lng));
|
|
4326
|
-
var deltaOffsetY = offset2.y - offset1.y;
|
|
4327
|
-
var offset3 = new Offset(offset1.x + deltaOffsetY, offset2.y);
|
|
4328
|
-
var deltaLng = baseCenter.lng - controller.offsetToPosition(offset3).lng;
|
|
4329
|
-
var posMap = new Map();
|
|
4330
|
-
|
|
4331
|
-
var transition = function (pos) {
|
|
4332
|
-
var key = positionToMapKey(pos);
|
|
4333
|
-
var count = posMap.get(key);
|
|
4334
|
-
|
|
4335
|
-
if (count === undefined) {
|
|
4336
|
-
count = 1;
|
|
4337
|
-
posMap.set(key, count);
|
|
4338
|
-
return {
|
|
4339
|
-
no: count,
|
|
4340
|
-
pos: pos
|
|
4341
|
-
};
|
|
4342
|
-
} //type : diagonal
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
var newPos = new Position(pos.lat + count * deltaLat, pos.lng + count * deltaLng);
|
|
4346
|
-
count += 1;
|
|
4347
|
-
posMap.set(key, count);
|
|
4348
|
-
return {
|
|
4349
|
-
no: count,
|
|
4350
|
-
pos: newPos
|
|
4351
|
-
};
|
|
4352
|
-
};
|
|
4353
|
-
|
|
4354
|
-
return React.createElement(MarkerAutoTransitionContext.Provider, {
|
|
4355
|
-
value: {
|
|
4356
|
-
option: {
|
|
4357
|
-
sizeInMeter: sizeInMeter,
|
|
4358
|
-
type: type
|
|
4359
|
-
},
|
|
4360
|
-
transition: transition
|
|
4361
|
-
}
|
|
4362
|
-
}, zoom && children);
|
|
4363
|
-
}
|
|
4364
|
-
|
|
4365
|
-
function positionToMapKey(pos) {
|
|
4366
|
-
return "".concat(pos.lat, "-").concat(pos.lng);
|
|
4367
|
-
}
|
|
4368
|
-
|
|
4369
4286
|
var offsetCalibration = function (mapType, divElement, options, autoFitToViewport, autoAdjustAnchor, autoAdjustAnchorConfig, mapDivElement) {
|
|
4370
4287
|
//google 맵의 anchor 보정 (네이버와 같이 왼쪽/위 기준으로 처리)
|
|
4371
4288
|
var baseTransform = '';
|
|
@@ -4443,12 +4360,12 @@ var getMarkersFitPosition = function (containerPosition, containerSize, markerPo
|
|
|
4443
4360
|
|
|
4444
4361
|
return 0;
|
|
4445
4362
|
};
|
|
4446
|
-
/**
|
|
4447
|
-
* Mint Map 컴포넌트
|
|
4448
|
-
*
|
|
4449
|
-
* @param {MapControlWrapperProps} MapControlWrapperProps
|
|
4450
|
-
*
|
|
4451
|
-
* @returns {JSX.Element} JSX
|
|
4363
|
+
/**
|
|
4364
|
+
* Mint Map 컴포넌트
|
|
4365
|
+
*
|
|
4366
|
+
* @param {MapControlWrapperProps} MapControlWrapperProps
|
|
4367
|
+
*
|
|
4368
|
+
* @returns {JSX.Element} JSX
|
|
4452
4369
|
*/
|
|
4453
4370
|
|
|
4454
4371
|
|
|
@@ -4571,21 +4488,8 @@ function MapMarkerWrapper(_a) {
|
|
|
4571
4488
|
};
|
|
4572
4489
|
}, []); //create / update object
|
|
4573
4490
|
|
|
4574
|
-
var transition = useContext(MarkerAutoTransitionContext).transition;
|
|
4575
|
-
var positionNo = useRef();
|
|
4576
4491
|
useEffect(function () {
|
|
4577
4492
|
if (options) {
|
|
4578
|
-
if (!Array.isArray(options.position)) {
|
|
4579
|
-
var _a = transition(options.position),
|
|
4580
|
-
no = _a.no,
|
|
4581
|
-
pos = _a.pos;
|
|
4582
|
-
|
|
4583
|
-
if (positionNo.current !== no) {
|
|
4584
|
-
options.position = pos;
|
|
4585
|
-
positionNo.current = no;
|
|
4586
|
-
}
|
|
4587
|
-
}
|
|
4588
|
-
|
|
4589
4493
|
if (markerRef.current) {
|
|
4590
4494
|
//console.log('update Marker')
|
|
4591
4495
|
controller.updateMarker(markerRef.current, options); //disablePointerEvent 처리
|
|
@@ -4631,12 +4535,12 @@ function MapMarkerWrapper(_a) {
|
|
|
4631
4535
|
return createPortal(children, divElement);
|
|
4632
4536
|
}
|
|
4633
4537
|
|
|
4634
|
-
/**
|
|
4635
|
-
* CircleMarker
|
|
4636
|
-
*
|
|
4637
|
-
* @param {CircleMarkerProps} CircleMarkerProps
|
|
4638
|
-
*
|
|
4639
|
-
* @returns {JSX.Element} JSX
|
|
4538
|
+
/**
|
|
4539
|
+
* CircleMarker
|
|
4540
|
+
*
|
|
4541
|
+
* @param {CircleMarkerProps} CircleMarkerProps
|
|
4542
|
+
*
|
|
4543
|
+
* @returns {JSX.Element} JSX
|
|
4640
4544
|
*/
|
|
4641
4545
|
|
|
4642
4546
|
function CircleMarker(_a) {
|
|
@@ -4752,12 +4656,12 @@ function CircleMarker(_a) {
|
|
|
4752
4656
|
}, children)));
|
|
4753
4657
|
}
|
|
4754
4658
|
|
|
4755
|
-
/**
|
|
4756
|
-
*PolygonMarker
|
|
4757
|
-
*
|
|
4758
|
-
* @param {PolygonMarkerProps} PolygonMarkerProps
|
|
4759
|
-
*
|
|
4760
|
-
* @returns {JSX.Element} JSX
|
|
4659
|
+
/**
|
|
4660
|
+
*PolygonMarker
|
|
4661
|
+
*
|
|
4662
|
+
* @param {PolygonMarkerProps} PolygonMarkerProps
|
|
4663
|
+
*
|
|
4664
|
+
* @returns {JSX.Element} JSX
|
|
4761
4665
|
*/
|
|
4762
4666
|
|
|
4763
4667
|
function PolygonMarker(_a) {
|
|
@@ -5116,12 +5020,12 @@ function CanvasMarker(_a) {
|
|
|
5116
5020
|
})), divElement);
|
|
5117
5021
|
}
|
|
5118
5022
|
|
|
5119
|
-
/**
|
|
5120
|
-
* Mint Map 컴포넌트
|
|
5121
|
-
*
|
|
5122
|
-
* @param {MapControlWrapperProps} MapControlWrapperProps
|
|
5123
|
-
*
|
|
5124
|
-
* @returns {JSX.Element} JSX
|
|
5023
|
+
/**
|
|
5024
|
+
* Mint Map 컴포넌트
|
|
5025
|
+
*
|
|
5026
|
+
* @param {MapControlWrapperProps} MapControlWrapperProps
|
|
5027
|
+
*
|
|
5028
|
+
* @returns {JSX.Element} JSX
|
|
5125
5029
|
*/
|
|
5126
5030
|
|
|
5127
5031
|
function MapPolygonWrapper(_a) {
|
|
@@ -5567,12 +5471,12 @@ var styles = {"mint-map-control-wrapper-container":"MintMapWrapper-module_mint-m
|
|
|
5567
5471
|
styleInject(css_248z);
|
|
5568
5472
|
|
|
5569
5473
|
var cn = classNames.bind(styles);
|
|
5570
|
-
/**
|
|
5571
|
-
* Mint Map 컴포넌트
|
|
5572
|
-
*
|
|
5573
|
-
* @param {MapControlWrapperProps} MapControlWrapperProps
|
|
5574
|
-
*
|
|
5575
|
-
* @returns {JSX.Element} JSX
|
|
5474
|
+
/**
|
|
5475
|
+
* Mint Map 컴포넌트
|
|
5476
|
+
*
|
|
5477
|
+
* @param {MapControlWrapperProps} MapControlWrapperProps
|
|
5478
|
+
*
|
|
5479
|
+
* @returns {JSX.Element} JSX
|
|
5576
5480
|
*/
|
|
5577
5481
|
|
|
5578
5482
|
function MapControlWrapper(_a) {
|
|
@@ -5605,12 +5509,12 @@ function MapControlWrapper(_a) {
|
|
|
5605
5509
|
}, children));
|
|
5606
5510
|
}
|
|
5607
5511
|
|
|
5608
|
-
/**
|
|
5609
|
-
* Mint Map 컴포넌트
|
|
5610
|
-
*
|
|
5611
|
-
* @param {MapControlWrapperProps} MapControlWrapperProps
|
|
5612
|
-
*
|
|
5613
|
-
* @returns {JSX.Element} JSX
|
|
5512
|
+
/**
|
|
5513
|
+
* Mint Map 컴포넌트
|
|
5514
|
+
*
|
|
5515
|
+
* @param {MapControlWrapperProps} MapControlWrapperProps
|
|
5516
|
+
*
|
|
5517
|
+
* @returns {JSX.Element} JSX
|
|
5614
5518
|
*/
|
|
5615
5519
|
|
|
5616
5520
|
function MapPolylineWrapper(_a) {
|
|
@@ -5651,12 +5555,12 @@ var console$1 = {
|
|
|
5651
5555
|
log: function () {
|
|
5652
5556
|
}
|
|
5653
5557
|
};
|
|
5654
|
-
/**
|
|
5655
|
-
* Mint Map 컴포넌트
|
|
5656
|
-
*
|
|
5657
|
-
* @param {MapControlWrapperProps} MapControlWrapperProps
|
|
5658
|
-
*
|
|
5659
|
-
* @returns {JSX.Element} JSX
|
|
5558
|
+
/**
|
|
5559
|
+
* Mint Map 컴포넌트
|
|
5560
|
+
*
|
|
5561
|
+
* @param {MapControlWrapperProps} MapControlWrapperProps
|
|
5562
|
+
*
|
|
5563
|
+
* @returns {JSX.Element} JSX
|
|
5660
5564
|
*/
|
|
5661
5565
|
|
|
5662
5566
|
function MapCanvasWrapper(_a) {
|
|
@@ -5975,12 +5879,12 @@ function MapCanvasWrapper(_a) {
|
|
|
5975
5879
|
}), renderFlag && React.createElement(React.Fragment, null));
|
|
5976
5880
|
}
|
|
5977
5881
|
|
|
5978
|
-
/**
|
|
5979
|
-
* Mint Map 컴포넌트
|
|
5980
|
-
*
|
|
5981
|
-
* @param {MapControlWrapperProps} MapControlWrapperProps
|
|
5982
|
-
*
|
|
5983
|
-
* @returns {JSX.Element} JSX
|
|
5882
|
+
/**
|
|
5883
|
+
* Mint Map 컴포넌트
|
|
5884
|
+
*
|
|
5885
|
+
* @param {MapControlWrapperProps} MapControlWrapperProps
|
|
5886
|
+
*
|
|
5887
|
+
* @returns {JSX.Element} JSX
|
|
5984
5888
|
*/
|
|
5985
5889
|
|
|
5986
5890
|
function MapCanvasMarkerWrapper(_props) {
|
|
@@ -5988,4 +5892,4 @@ function MapCanvasMarkerWrapper(_props) {
|
|
|
5988
5892
|
return React.createElement(React.Fragment, null);
|
|
5989
5893
|
}
|
|
5990
5894
|
|
|
5991
|
-
export { AnimationPlayer, Bounds, CanvasMarker, CircleMarker, Drawable, GeoCalulator, GoogleMintMapController, MapBuildingProjection, MapCanvasMarkerWrapper, MapCanvasWrapper, MapControlWrapper, MapEvent, MapLoadingWithImage, MapMarkerWrapper, MapPolygonWrapper, MapPolylineWrapper, MapUIEvent, Marker,
|
|
5895
|
+
export { AnimationPlayer, Bounds, CanvasMarker, CircleMarker, Drawable, GeoCalulator, GoogleMintMapController, MapBuildingProjection, MapCanvasMarkerWrapper, MapCanvasWrapper, MapControlWrapper, MapEvent, MapLoadingWithImage, MapMarkerWrapper, MapPolygonWrapper, MapPolylineWrapper, MapUIEvent, Marker, MintMap, MintMapCanvasRenderer, MintMapController, MintMapCore, MintMapProvider, NaverMintMapController, Offset, PointLoading, Polygon, PolygonCalculator, PolygonMarker, Polyline, Position, SVGCircle, SVGPolygon, SVGRect, Status, getClusterInfo, getMapOfType, log, useMarkerMoving, useMintMapController, waiting };
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,6 @@ var MapBuildingProjection = require('./components/mint-map/core/advanced/MapBuil
|
|
|
16
16
|
var MapLoadingComponents = require('./components/mint-map/core/advanced/MapLoadingComponents.js');
|
|
17
17
|
var MarkerMovingHook = require('./components/mint-map/core/hooks/MarkerMovingHook.js');
|
|
18
18
|
var MintMapProvider = require('./components/mint-map/core/provider/MintMapProvider.js');
|
|
19
|
-
var MarkerAutoTransitionProvider = require('./components/mint-map/core/provider/MarkerAutoTransitionProvider.js');
|
|
20
19
|
var animation = require('./components/mint-map/core/util/animation.js');
|
|
21
20
|
var geo = require('./components/mint-map/core/util/geo.js');
|
|
22
21
|
var waiting = require('./components/mint-map/core/util/waiting.js');
|
|
@@ -55,9 +54,6 @@ exports.PointLoading = MapLoadingComponents.PointLoading;
|
|
|
55
54
|
exports.useMarkerMoving = MarkerMovingHook.useMarkerMoving;
|
|
56
55
|
exports.MintMapProvider = MintMapProvider.MintMapProvider;
|
|
57
56
|
exports.useMintMapController = MintMapProvider.useMintMapController;
|
|
58
|
-
exports.MarkerAutoTransitionContext = MarkerAutoTransitionProvider.MarkerAutoTransitionContext;
|
|
59
|
-
exports.MarkerAutoTransitionProvider = MarkerAutoTransitionProvider.MarkerAutoTransitionProvider;
|
|
60
|
-
exports.baseCenter = MarkerAutoTransitionProvider.baseCenter;
|
|
61
57
|
exports.AnimationPlayer = animation.AnimationPlayer;
|
|
62
58
|
exports.GeoCalulator = geo.GeoCalulator;
|
|
63
59
|
exports.waiting = waiting.waiting;
|