realmap 1.1.9 → 1.1.11

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/band.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Band v1.1.9
3
+ * RealMap Band v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/band.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Band v1.1.9
3
+ * RealMap Band v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/chart.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Chart v1.1.9
3
+ * RealMap Chart v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/chart.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Chart v1.1.9
3
+ * RealMap Chart v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/design.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Design v1.1.9
3
+ * RealMap Design v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/design.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Design v1.1.9
3
+ * RealMap Design v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/editing.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Editing v1.1.9
3
+ * RealMap Editing v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/editing.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Editing v1.1.9
3
+ * RealMap Editing v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/export.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Export v1.1.9
3
+ * RealMap Export v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/export.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Export v1.1.9
3
+ * RealMap Export v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/feature.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Feature v1.1.9
3
+ * RealMap Feature v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/feature.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Feature v1.1.9
3
+ * RealMap Feature v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/gl.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Gl v1.1.9
3
+ * RealMap Gl v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/gl.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Gl v1.1.9
3
+ * RealMap Gl v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/heatmap.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Heatmap v1.1.9
3
+ * RealMap Heatmap v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/heatmap.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealMap Heatmap v1.1.9
3
+ * RealMap Heatmap v1.1.11
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/index.d.ts CHANGED
@@ -584,6 +584,16 @@ interface MapSource {
584
584
  border: MapBorderSource;
585
585
  closed?: boolean;
586
586
  }];
587
+ /**
588
+ * 지도의 표시 경계를 수동으로 지정한다.<br/>
589
+ * [최소 경도, 최소 위도, 최대 경도, 최대 위도] 형태로 지정한다.<br/>
590
+ * - bounds와 지도(url/source) 모두 지정되면 bounds가 경계가 된다. (지도가 작으면 덜 그려지고, 더 크면 clip됨)
591
+ * - bounds만 지정되고 지도가 없으면 bounds가 경계가 된다.
592
+ * - 둘 다 지정하지 않으면 지도 폴리곤에서 자동 계산된 경계를 사용한다.
593
+ *
594
+ * 주의: Orthographic Projection을 사용하는 경우, 해당 옵션은 무시된다.
595
+ */
596
+ bounds?: [number, number, number, number];
587
597
  }
588
598
  declare abstract class MapSourceItem {
589
599
  id: string;
@@ -624,6 +634,7 @@ declare abstract class MapSourceImpl extends RmObject {
624
634
  readonly externals: boolean;
625
635
  readonly alignArctic: boolean;
626
636
  readonly borders: MapBorderInfo[];
637
+ readonly bounds: [number, number, number, number] | undefined;
627
638
  items: MapSourceItem[];
628
639
  insets: {
629
640
  [area: string]: MapInset;
@@ -1046,6 +1057,30 @@ interface ChartGlobalOptions extends ChartItemOptions {
1046
1057
  * @default false
1047
1058
  */
1048
1059
  wheelDisabled?: boolean;
1060
+ /**
1061
+ * false로 설정하면 차트 애니메이션이 실행되지 않는다.<br/>
1062
+ *
1063
+ * @default true
1064
+ */
1065
+ animatable?: boolean;
1066
+ /**
1067
+ * false로 설정하면 차트에 대한 호버 동작이 비활성화된다.<br/>
1068
+ *
1069
+ * @default true
1070
+ */
1071
+ hoverable?: boolean;
1072
+ /**
1073
+ * false로 설정하면 차트에 대한 클릭 동작이 비활성화된다.<br/>
1074
+ *
1075
+ * @default true
1076
+ */
1077
+ clickable?: boolean;
1078
+ /**
1079
+ * false로 설정하면 차트 드래그 동작이 비활성화된다.<br/>
1080
+ *
1081
+ * @default true
1082
+ */
1083
+ draggable?: boolean;
1049
1084
  /**
1050
1085
  * 마우스 포인터가 클릭됐을 때 호출되는 콜백.<br/>
1051
1086
  */
@@ -5904,6 +5939,15 @@ declare class MapModel extends RmObject {
5904
5939
  */
5905
5940
  private $_preflight;
5906
5941
  private $_resetAreas;
5942
+ private $_hasArea;
5943
+ /**
5944
+ * 전 세계 범위(-180~180)로 경계 설정
5945
+ */
5946
+ private $_setBoundaryByWorld;
5947
+ /**
5948
+ * map.bounds 옵션으로 지도 경계를 설정하는 메서드
5949
+ */
5950
+ private $_setBoundsByOption;
5907
5951
  private $_updateMainAreaBounds;
5908
5952
  private $_load;
5909
5953
  private $_copy;
@@ -6264,6 +6308,7 @@ declare abstract class ValuePoint extends DataPoint {
6264
6308
  protected _assignTo(proxy: any): any;
6265
6309
  getValue(): number;
6266
6310
  getBaseValue(): number;
6311
+ protected _valuesChanged(prev: any): boolean;
6267
6312
  }
6268
6313
  /**
6269
6314
  */
@@ -7619,7 +7664,6 @@ declare class MapSeriesPoint extends ValuePoint {
7619
7664
  protected _readObject(series: MapSeries, v: any): void;
7620
7665
  getLabel(index: number): string;
7621
7666
  getParam(param: string): any;
7622
- _valuesChanged(prev: any): boolean;
7623
7667
  setSelected(selected: boolean): void;
7624
7668
  }
7625
7669
  declare class MapSeriesDrilldown extends ChartItem<DrilldownOptions> {
@@ -7975,6 +8019,16 @@ declare class ChartGlobal extends ChartItem<ChartGlobalOptions> {
7975
8019
  * 시리즈가 하나도 설정되지 않으면(visible과 상관없이) data가 연결되지 않은 빈 'map' 시리즈를 표시한다.
7976
8020
  */
7977
8021
  declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IChart, IMapOwner, IAnnotationOwner, ITooltipOwner, ISelectionOwner {
8022
+ /**
8023
+ * map.bounds로 경계를 설정하는 경우 자동으로 격자(AxisGrid)를 표시하는데,
8024
+ * 이 때 경계의 크기 차이인 diff를 기준으로 격자의 간격(step)을 결정한다.
8025
+ */
8026
+ private static readonly ZOOM_STEP_MAP;
8027
+ /**
8028
+ * 지도 영역이 너무 넓어 ZOOM_STEP_MAP의 최대치를 초과하는 경우
8029
+ * (예: 전 세계 지도) 또는 투영법이 orthographic일 때 기본으로 적용할 격자 간격
8030
+ */
8031
+ private static readonly DEFAULT_GRID_STEP;
7978
8032
  private static defaults;
7979
8033
  _wrapper: any;
7980
8034
  _op: ChartConfiguration;
@@ -8016,6 +8070,7 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
8016
8070
  _loadAnimatable: boolean;
8017
8071
  width: number;
8018
8072
  height: number;
8073
+ _globalMapBound: MapBounds;
8019
8074
  lockOptionsDirty(): void;
8020
8075
  freeOptionsDirty(): void;
8021
8076
  constructor(config?: ChartConfiguration, wrapper?: any);
@@ -8032,6 +8087,9 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
8032
8087
  _modelChanged(): void;
8033
8088
  _optionChanged(item: ChartItem, tag?: any): void;
8034
8089
  animatable(): boolean;
8090
+ hoverable(): boolean;
8091
+ clickable(): boolean;
8092
+ draggable(): boolean;
8035
8093
  loadAnimatable(): boolean;
8036
8094
  requestShowSeries(series: Series, visible: boolean): void;
8037
8095
  _selectionChanged(series: ISeries, points: DataPoint[]): void;
@@ -8050,6 +8108,10 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
8050
8108
  get type(): "map" | "point" | "line" | "figure" | "image" | "bar" | "pie" | "waffle" | "bubble" | "route" | "feature" | "pin" | "vector" | "heatmap" | "panel" | "gauge" | "clock";
8051
8109
  get legend(): Legend;
8052
8110
  get credits(): Credits;
8111
+ /**
8112
+ * 전체 map의 통합 경계 정보
8113
+ */
8114
+ get globalMapBound(): MapBounds;
8053
8115
  /**
8054
8116
  * map model.
8055
8117
  */
@@ -8091,6 +8153,12 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
8091
8153
  loadBase(source: any, model: string, type: string): any;
8092
8154
  private _setProperties;
8093
8155
  _load(config: ChartConfiguration): this;
8156
+ /**
8157
+ * 설정된 지도가 없어서 더미 MapModel이 설정되었거나, 지도에 지역 정보가 하나도 없는 경우, 자동으로 격자선을 그리도록 설정을 수정하는 메서드.
8158
+ * 사용자가 매우 좁은 경계(map.bounds)를 설정한 경우(예: 폭 1도 미만), 기본 격자 단위인 10도(step=10)로는 선이 1개도 보이지 않음
8159
+ * 경계에 맞는 간격으로 격자 설정. normalizedMap이 단일 객체로 변환된 경우도 포함한다
8160
+ */
8161
+ private $_resolveGrid;
8094
8162
  private $_loadTemplates;
8095
8163
  prepareRender(): void;
8096
8164
  afterRender(): void;
@@ -8116,11 +8184,25 @@ declare class ChartObject extends RmEventProvider<IMapChartEvents> implements IC
8116
8184
  click(info: any): void;
8117
8185
  pointToMap(x: number, y: number): MapCoord;
8118
8186
  private $_buildWidgetGroups;
8187
+ /**
8188
+ * 모든 MapModel의 경계좌표를 합쳐서 전체 지도의 좌표 범위를 구한다.
8189
+ */
8190
+ private $_resetGlobalMapBound;
8119
8191
  _visibleChanged(item: ChartItem): void;
8120
8192
  _hoverAreaChanged(series: Series, newArea: MapArea, oldArea: MapArea): void;
8121
8193
  _areaClicked(series: Series, area: MapArea): void;
8122
8194
  }
8123
8195
 
8196
+ interface MapBounds {
8197
+ x1: number;
8198
+ x2: number;
8199
+ y1: number;
8200
+ y2: number;
8201
+ h1: number;
8202
+ h2: number;
8203
+ v1: number;
8204
+ v2: number;
8205
+ }
8124
8206
  interface IChart {
8125
8207
  wrapper: any;
8126
8208
  options: ChartConfiguration;
@@ -8140,12 +8222,15 @@ interface IChart {
8140
8222
  firstVisible: Series;
8141
8223
  firstMapSeries: Series;
8142
8224
  isDirty: boolean;
8225
+ globalMapBound: MapBounds;
8143
8226
  mapAt(index: number): MapModel;
8144
8227
  mapByName(name: string): MapModel;
8145
8228
  getMap(nameOrIndex: string | number): MapModel;
8146
8229
  getFirstSeries(type: string): Series;
8147
8230
  findSeries(finder: (series: ISeries) => boolean): Series;
8148
8231
  animatable(): boolean;
8232
+ hoverable(): boolean;
8233
+ clickable(): boolean;
8149
8234
  loadAnimatable(): boolean;
8150
8235
  loadBase(source: any, model: string, type: string): any;
8151
8236
  assignTemplates(target: any): any;
@@ -9283,6 +9368,11 @@ declare abstract class SeriesView<T extends Series = Series> extends ChartElemen
9283
9368
  constructor(doc: Document, className: string, needLabels: boolean, useDefs: boolean);
9284
9369
  $_setInRegion(): this;
9285
9370
  needClip(): boolean;
9371
+ /**
9372
+ * bounds 기반 clip을 반환한다. 기본 구현은 BodyView에서 전달된 clip(투영 클리핑)을 그대로 반환한다.
9373
+ * MapSeriesView에서 오버라이드하여 각 맵 시리즈의 bounds에 맞는 clip을 반환한다.
9374
+ */
9375
+ resolveBoundsClip(fallback: ClipElement | null, _scale: number, _tx: number, _ty: number, _prj: MapProjection): ClipElement | null;
9286
9376
  secondLabelContainer(): LayerElement;
9287
9377
  protected _setCalcedColor(model: T, dom: Element): void;
9288
9378
  protected _setModelColor(color: string): void;
@@ -9428,6 +9518,7 @@ declare class MapSeriesView extends SeriesView<MapSeries> {
9428
9518
  private static readonly DefaultHoverFilter;
9429
9519
  private static readonly DefaultHoverStrokeWidth;
9430
9520
  private _hoverArea;
9521
+ private _boundsClip;
9431
9522
  private _internalContainer;
9432
9523
  private _externalContainer;
9433
9524
  private _borderContainer;
@@ -9447,6 +9538,11 @@ declare class MapSeriesView extends SeriesView<MapSeries> {
9447
9538
  areaOfDom(dom: Element): AreaView;
9448
9539
  getIntersectedAreas(rect: SVGGeometryElement): AreaView[];
9449
9540
  needClip(): boolean;
9541
+ /**
9542
+ * 이 시리즈의 맵에 bounds가 설정된 경우, 해당 bounds 기준의 SVG clip-path를 생성해 반환한다.
9543
+ * bounds가 없거나 세계 전체 범위인 경우 BodyView에서 전달된 투영 clip(fallback)을 그대로 반환한다.
9544
+ */
9545
+ resolveBoundsClip(fallback: ClipElement | null, scale: number, tx: number, ty: number, prj: MapProjection): ClipElement | null;
9450
9546
  secondLabelContainer(): LayerElement;
9451
9547
  protected _getPointPool(): PointViewPool<PointElement>;
9452
9548
  protected _setModelColor(color: string): void;
@@ -9762,6 +9858,8 @@ declare class BarSeriesPoint extends OrthogonalSparkSeriesPoint {
9762
9858
  * {@link options 설정} 모델은 {@link https://realmap.co.kr/docs/api/options/BarSeriesOptions BarSeriesOptions}이다.
9763
9859
  */
9764
9860
  declare class BarSeries extends OrthogonalSparkSeries<BarSeriesOptions> {
9861
+ private static readonly LABEL_OFFSET_CENTER;
9862
+ private static readonly LABEL_OFFSET_AUTO;
9765
9863
  static type: string;
9766
9864
  static defaults: BarSeriesOptions;
9767
9865
  private _subLabel;
@@ -9775,13 +9873,13 @@ declare class BarSeries extends OrthogonalSparkSeries<BarSeriesOptions> {
9775
9873
  protected _defLabelOff(): number;
9776
9874
  protected _createLegendMarker(doc: Document, size: number): RmElement;
9777
9875
  setCalcedColor(cs: CSSStyleDeclaration, prop: string): void;
9876
+ private $_isLabelCenter;
9778
9877
  }
9779
9878
 
9780
9879
  declare class BubbleSeriesPoint extends MarkerSeriesPoint {
9781
9880
  position: PointViewPosition;
9782
9881
  labelCount(): number;
9783
9882
  protected _readObject(series: ISeries<BubbleSeriesPoint>, v: any): void;
9784
- protected _valuesChanged(prev: any): boolean;
9785
9883
  }
9786
9884
  /**
9787
9885
  * Bubble 시리즈 모델.<br/>
@@ -10320,7 +10418,6 @@ declare class PointSeriesPoint extends MarkerSeriesPoint {
10320
10418
  x: number;
10321
10419
  y: number;
10322
10420
  protected _readObject(series: ISeries<PointSeriesPoint>, v: any): void;
10323
- protected _valuesChanged(prev: any): boolean;
10324
10421
  }
10325
10422
  /**
10326
10423
  * Point 시리즈 모델.<br/>
@@ -10894,15 +10991,18 @@ declare class TextAnnotationView extends AnnotationView<TextAnnotation> {
10894
10991
  declare class BarSeriesView extends OrthogonalSparkSeriesView<BarSeries> {
10895
10992
  private _bars;
10896
10993
  protected _labelInfo: LabelLayoutInfo;
10994
+ private _hoverBar;
10897
10995
  constructor(doc: Document);
10898
10996
  protected _getPointPool(): PointViewPool<PointElement>;
10899
10997
  protected _doPrepeare(doc: Document, model: BarSeries, dataDirty: boolean): void;
10900
10998
  protected _doRender(width: number, height: number): void;
10901
10999
  protected _doReset(): void;
11000
+ protected _doPointerMoved(x: number, y: number, dom: Element): boolean;
10902
11001
  protected _runShowEffect(firstTime: boolean): void;
10903
11002
  protected _doViewRateChanged(rate: number): void;
10904
11003
  private $_prepareBars;
10905
11004
  private $_layoutBars;
11005
+ private $_resolveLabelPosition;
10906
11006
  }
10907
11007
 
10908
11008
  declare class BubbleSeriesPointView extends MarkerSeriesPointView<BubbleSeriesPoint> {