sy-geo-map
Geo Map
지리적 위치와 규모를 지도 위에 표시합니다.
sy-geo-map
도시·시설·관측 지점의 분포를 탐색하세요.
경도와 위도의 순서를 확인하세요. 투영법에 따라 거리와 면적의 표현이 달라집니다.
기본 차트 등급: Pro. 추가 렌더러·커스텀 브랜딩 등 기능의 권한은 별도입니다.
| 입력 | 데이터 설명 |
|---|---|
data | { longitude, latitude, value?, label? } 배열입니다. |
projection | 지도 좌표를 화면으로 투영하는 방식입니다. |
mapRegion | 초기에 보여줄 지역입니다. |
- Components에서 실행하기
옵션 변경과 프레임워크별 코드
- 공통 설치와 연결
전체 적용 예제
<div id="chart-container" style="width: 100%; min-width: 0;"></div>
<script type="module">
import { defineCustomElement as define0 } from '@syidax/advanced-pro/components/sy-geo-map.js';
define0();
// Pro: 앱 시작 시 발급받은 인증서로 registerLicense를 완료하세요.
// 홈페이지 미리보기의 인증서는 고객 앱에서 사용하지 않습니다.
const specs = [
{
"id": "example-chart",
"tag": "sy-geo-map",
"props": {
"data": [
{
"id": "seoul",
"label": "서울",
"longitude": 126.98,
"latitude": 37.57,
"value": 80
},
{
"id": "tokyo",
"label": "도쿄",
"longitude": 139.69,
"latitude": 35.68,
"value": 65
},
{
"id": "taipei",
"label": "타이베이",
"longitude": 121.56,
"latitude": 25.03,
"value": 45
},
{
"id": "singapore",
"label": "싱가포르",
"longitude": 103.82,
"latitude": 1.35,
"value": 55
}
],
"mapRegion": "asia",
"mapBackground": "natural-earth",
"projection": "mercator",
"nodeLabels": "show",
"width": 640,
"height": 360,
"brandPosition": "bottom-right",
"brandLogo": ""
}
}
];
const container = document.querySelector('#chart-container');
const elements = specs.map(({ tag, id, props }) => {
const element = document.createElement(tag);
element.id = id;
Object.assign(element, props);
element.setAttribute('aria-label', 'geo-map 예제 차트');
return element;
});
container.replaceChildren(...elements);
const chart = elements.at(-1);
const onEvent = event => {
console.log('nodeClick', event.detail);
};
chart.addEventListener('nodeClick', onEvent);
const observer = new ResizeObserver(([entry]) => {
const width = Math.max(160, Math.floor(entry.contentRect.width));
elements.forEach(element => { element.width = width; });
});
observer.observe(container);
// SPA에서는 화면이 해제될 때 이 함수를 호출하세요.
function disposeChart() {
observer.disconnect();
chart.removeEventListener('nodeClick', onEvent);
container.replaceChildren();
}
</script>Properties
data
{ longitude, latitude, value?, label? } 배열입니다.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | data |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | GeoMapData |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
- GeoMapData
타입 정의
features
Owned geographic polygons and great-circle LineStrings, below data points.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | features |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | GeoMapFeatureCollection |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
polygonColor
HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: string.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | polygonColor |
| HTML attribute | polygon-color |
| 타입 | string |
| 기본값 | '#0d9488' |
polygonOpacity
HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: number.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | polygonOpacity |
| HTML attribute | polygon-opacity |
| 타입 | number |
| 기본값 | 0.7 |
connectionWidth
HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: number.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | connectionWidth |
| HTML attribute | connection-width |
| 타입 | number |
| 기본값 | 2 |
connectionColor
HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: string.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | connectionColor |
| HTML attribute | connection-color |
| 타입 | string |
| 기본값 | '#7c3aed' |
connectionOpacity
HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: number.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | connectionOpacity |
| HTML attribute | connection-opacity |
| 타입 | number |
| 기본값 | 0.85 |
connectionPath
Surface great-circle arcs (default), or flat-map straight routes. On globes, straight lifts the equirectangular route onto the surface.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | connectionPath |
| HTML attribute | connection-path |
| 타입 | GeoMapConnectionPath |
| 기본값 | 'great-circle' |
| 허용값 | great-circle, straight |
- GeoMapConnectionPath
타입 정의
mapColorAxis
Choropleth: feature property to a shared color ramp and numeric legend.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | mapColorAxis |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | GeoMapColorAxisInput |
| 기본값 | undefined |
| 타입에 포함된 리터럴 | auto |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
- GeoMapColorAxisInput
타입 정의
mapBubble
Geographic bubbles encode point values by area; object options are property-bound.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | mapBubble |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | GeoMapBubbleInput |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
- GeoMapBubbleInput
타입 정의
mapHeat
Bounded screen-space Gaussian density below connections and points.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | mapHeat |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | GeoMapHeatInput |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
- GeoMapHeatInput
타입 정의
mapLayers
Layer presentation masks; assign an object property. Hidden sources retain selection and pinned-card identity.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | mapLayers |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | GeoMapLayersInput |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
- GeoMapLayersInput
타입 정의
mapLegend
Native buttons for point, polygon, connection and heat visibility.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | mapLegend |
| HTML attribute | map-legend |
| 타입 | boolean |
| 기본값 | false |
mapLegendLayers
Optional ordered legend subset for geographic specializations; source layers stay intact.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | mapLegendLayers |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | ReadonlyArray<GeoMapLayer> |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
- GeoMapLayer
타입 정의
mapLayerNames
JavaScript 프로퍼티로 전달합니다. 타입: Partial<Record<GeoMapLayer,string>>.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | mapLayerNames |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | Partial<Record<GeoMapLayer,string>> |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
- GeoMapLayer
타입 정의
width
차트의 너비를 px 단위로 지정합니다. 컨테이너 너비가 변하는 앱에서는 ResizeObserver에서 width를 갱신하세요.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | width |
| HTML attribute | width |
| 타입 | number |
| 기본값 | 900 |
height
차트의 높이를 px 단위로 지정합니다. 축, 제목과 범례가 차지하는 공간을 함께 고려하세요.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | height |
| HTML attribute | height |
| 타입 | number |
| 기본값 | 400 |
brandLogo
기본값은 Syidax 심볼과 워드마크입니다. Pro의 chart.branding 권한으로 none을 지정해 제거하거나 PNG·JPEG·WebP data URL로 교체할 수 있습니다.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | brandLogo |
| HTML attribute | brand-logo |
| 타입 | string |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
brandPosition
로고를 고정할 코너입니다. Community·Pro 모두 네 코너 중 하나를 선택할 수 있으며 화면과 이미지 내보내기에 같은 위치를 사용합니다.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | brandPosition |
| HTML attribute | brand-position |
| 타입 | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' |
| 기본값 | 'bottom-right' |
| 허용값 | top-left, top-right, bottom-left, bottom-right |
padding
Padding around the coordinate frame in CSS pixels.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | padding |
| HTML attribute | padding |
| 타입 | number |
| 기본값 | 16 |
projection
지도 좌표를 화면으로 투영하는 방식입니다.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | projection |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | GeoMapProjection |
| 기본값 | 'identity' |
| 타입에 포함된 리터럴 | identity, mercator, equirectangular, albers, orthographic |
- GeoMapProjection
타입 정의
mapRegion
초기에 보여줄 지역입니다.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | mapRegion |
| HTML attribute | map-region |
| 타입 | GeoMapRegion |
| 기본값 | 'world' |
| 허용값 | world, africa, asia, europe, north-america, south-america, oceania, antarctica |
- GeoMapRegion
타입 정의
mapBackground
Bundled public-domain land/coastline data; no runtime map download or API key.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | mapBackground |
| HTML attribute | map-background |
| 타입 | GeoMapBackground |
| 기본값 | 'natural-earth' |
| 허용값 | none, natural-earth |
- GeoMapBackground
타입 정의
mapFixed
Lock geographic dragging: flat maps wrap longitude inside a fixed frame; Albers/Orthographic rotate. Zoom is separate.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | mapFixed |
| HTML attribute | map-fixed |
| 타입 | boolean |
| 기본값 | false |
crosshair
Geographic crosshair. Bare attribute or {} uses defaults; an object prop or JSON attribute overrides options. Omit/remove the attribute to disable.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | crosshair |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | CartesianCrosshairInput |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
crosshairSnapDistance
Point-center capture distance in CSS pixels when crosshair.snap is enabled; direct marker hits also snap.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | crosshairSnapDistance |
| HTML attribute | crosshair-snap-distance |
| 타입 | number |
| 기본값 | 12 |
nodeRadius
HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: number.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | nodeRadius |
| HTML attribute | node-radius |
| 타입 | number |
| 기본값 | 5 |
color
HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: string.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | color |
| HTML attribute | color |
| 타입 | string |
| 기본값 | 'auto' |
activeColor
HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: string.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | activeColor |
| HTML attribute | active-color |
| 타입 | string |
| 기본값 | '#f59e0b' |
inactiveOtherPoints
Dim other point/feature glyphs around the focused, hovered or selected source identity. Heat stays unchanged.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | inactiveOtherPoints |
| HTML attribute | inactive-other-points |
| 타입 | boolean |
| 기본값 | false |
inactivePointOpacity
HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: number.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | inactivePointOpacity |
| HTML attribute | inactive-point-opacity |
| 타입 | number |
| 기본값 | .2 |
nodeLabels
허용값: auto, show, hide. 기본값: 'auto'.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | nodeLabels |
| HTML attribute | node-labels |
| 타입 | GeoMapLabelMode |
| 기본값 | 'auto' |
| 허용값 | auto, show, hide |
- GeoMapLabelMode
타입 정의
featureLabels
Optional region and connection names, sharing point-label collision avoidance.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | featureLabels |
| HTML attribute | feature-labels |
| 타입 | GeoMapLabelMode |
| 기본값 | 'hide' |
| 허용값 | auto, show, hide |
- GeoMapLabelMode
타입 정의
featureLabelValue
HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: boolean.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | featureLabelValue |
| HTML attribute | feature-label-value |
| 타입 | boolean |
| 기본값 | false |
nodeLabelValue
HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: boolean.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | nodeLabelValue |
| HTML attribute | node-label-value |
| 타입 | boolean |
| 기본값 | false |
chartTitle
차트 내부 제목입니다. 데이터의 단위와 의미를 함께 설명하세요.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | chartTitle |
| HTML attribute | chart-title |
| 타입 | string |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
chartSubtitle
차트 내부 부제목입니다.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | chartSubtitle |
| HTML attribute | chart-subtitle |
| 타입 | string |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
enableMouseTracking
HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: boolean.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | enableMouseTracking |
| HTML attribute | enable-mouse-tracking |
| 타입 | boolean |
| 기본값 | true |
tooltip
포인터에 따라 표시할 값, 위치, 내용의 툴팁 설정입니다.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | tooltip |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | CartesianTooltipInput |
| 기본값 | undefined |
| 타입에 포함된 리터럴 | auto, off |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
tooltipEnabled
HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: boolean.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | tooltipEnabled |
| HTML attribute | tooltip-show |
| 타입 | boolean |
| 기본값 | true |
tooltipFormat
JavaScript 프로퍼티로 전달합니다. 타입: (detail: GeoMapHitDetail) => string.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | tooltipFormat |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | (detail: GeoMapHitDetail) => string |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
- GeoMapHitDetail
타입 정의
featureTooltipFormat
Formats owned polygon/connection metadata; point tooltipFormat remains independent.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | featureTooltipFormat |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | (detail:GeoMapFeatureHitDetail)=>string |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
animated
초기 표시와 데이터 변경의 애니메이션 사용 여부입니다.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | animated |
| HTML attribute | animate |
| 타입 | boolean |
| 기본값 | false |
animationDuration
애니메이션 지속 시간(ms).
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | animationDuration |
| HTML attribute | animation-duration |
| 타입 | number |
| 기본값 | 600 |
animationEasing
허용값: linear, ease-out, ease-in, ease-in-out. 기본값: 'ease-out'.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | animationEasing |
| HTML attribute | animation-easing |
| 타입 | GeoMapEasing |
| 기본값 | 'ease-out' |
| 허용값 | linear, ease-out, ease-in, ease-in-out |
- GeoMapEasing
타입 정의
animationType
허용값: initial, update. 기본값: undefined.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | animationType |
| HTML attribute | animation-type |
| 타입 | GeoMapAnimationType |
| 기본값 | undefined |
| 허용값 | initial, update |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
- GeoMapAnimationType
타입 정의
streamSource
실시간 데이터를 전달하는 스트림 소스입니다. 해당 타입의 계약을 확인하세요.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | streamSource |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | GeoMapStreamSource |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
- GeoMapStreamSource
타입 정의
streamMax
보관할 스트리밍 데이터의 최대 수입니다.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | streamMax |
| HTML attribute | stream-max |
| 타입 | number |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
streamWindow
화면에 유지할 스트리밍 데이터 구간입니다.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | streamWindow |
| HTML attribute | stream-window |
| 타입 | number |
| 기본값 | undefined |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
zoom
확대·축소와 표시 범위의 동작 설정입니다.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | zoom |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | CartesianZoomInput |
| 기본값 | undefined |
| 타입에 포함된 리터럴 | auto, off, true, false, x, y, xy, inside |
undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.
- CartesianZoomInput
타입 정의
engine
auto·standard·pro 렌더러 선택입니다. 엔진 선택은 차트 종류의 Pro 사용 권한과 별개입니다.
| 항목 | 값 |
|---|---|
| JavaScript 프로퍼티 | engine |
| HTML attribute | engine |
| 타입 | GeoMapEngineMode |
| 기본값 | 'auto' |
| 허용값 | auto, standard, pro |
- GeoMapEngineMode
타입 정의
Events
rendered
차트 그리기가 완료되면 렌더링 결과를 detail로 전달합니다.
이벤트 이름: rendered. 대소문자를 구분합니다. payload는 CustomEvent<GeoMapRenderResult & { tier: GeoMapEngineTier }>의 detail에서 읽습니다.
chart.addEventListener('rendered', event => {
console.log(event.detail); // GeoMapRenderResult & { tier: GeoMapEngineTier }
});- GeoMapRenderResult
타입 정의
- GeoMapEngineTier
타입 정의
nodeClick
CustomEvent.detail 타입: GeoMapHitDetail. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: nodeClick. 대소문자를 구분합니다. payload는 CustomEvent<GeoMapHitDetail>의 detail에서 읽습니다.
chart.addEventListener('nodeClick', event => {
console.log(event.detail); // GeoMapHitDetail
});- GeoMapHitDetail
타입 정의
nodeHover
CustomEvent.detail 타입: GeoMapHitDetail | null. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: nodeHover. 대소문자를 구분합니다. payload는 CustomEvent<GeoMapHitDetail | null>의 detail에서 읽습니다.
chart.addEventListener('nodeHover', event => {
console.log(event.detail); // GeoMapHitDetail | null
});- GeoMapHitDetail
타입 정의
featureClick
CustomEvent.detail 타입: GeoMapFeatureHitDetail. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: featureClick. 대소문자를 구분합니다. payload는 CustomEvent<GeoMapFeatureHitDetail>의 detail에서 읽습니다.
chart.addEventListener('featureClick', event => {
console.log(event.detail); // GeoMapFeatureHitDetail
});featureHover
CustomEvent.detail 타입: GeoMapFeatureHitDetail | null. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: featureHover. 대소문자를 구분합니다. payload는 CustomEvent<GeoMapFeatureHitDetail | null>의 detail에서 읽습니다.
chart.addEventListener('featureHover', event => {
console.log(event.detail); // GeoMapFeatureHitDetail | null
});featureSelectionChange
CustomEvent.detail 타입: GeoMapFeatureSelectionChangeEventDetail. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: featureSelectionChange. 대소문자를 구분합니다. payload는 CustomEvent<GeoMapFeatureSelectionChangeEventDetail>의 detail에서 읽습니다.
chart.addEventListener('featureSelectionChange', event => {
console.log(event.detail); // GeoMapFeatureSelectionChangeEventDetail
});selectionChanged
CustomEvent.detail 타입: GeoMapSelectionChangeEventDetail. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: selectionChanged. 대소문자를 구분합니다. payload는 CustomEvent<GeoMapSelectionChangeEventDetail>의 detail에서 읽습니다.
chart.addEventListener('selectionChanged', event => {
console.log(event.detail); // GeoMapSelectionChangeEventDetail
});pointContextMenu
CustomEvent.detail 타입: ChartPointContextMenuEventDetail<GeoMapPickDetail>. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: pointContextMenu. 대소문자를 구분합니다. payload는 CustomEvent<ChartPointContextMenuEventDetail<GeoMapPickDetail>>의 detail에서 읽습니다.
chart.addEventListener('pointContextMenu', event => {
console.log(event.detail); // ChartPointContextMenuEventDetail<GeoMapPickDetail>
});appended
CustomEvent.detail 타입: { count: number; replaced: number }. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: appended. 대소문자를 구분합니다. payload는 CustomEvent<{ count: number; replaced: number }>의 detail에서 읽습니다.
chart.addEventListener('appended', event => {
console.log(event.detail); // { count: number; replaced: number }
});windowSlid
CustomEvent.detail 타입: { dropped: number }. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: windowSlid. 대소문자를 구분합니다. payload는 CustomEvent<{ dropped: number }>의 detail에서 읽습니다.
chart.addEventListener('windowSlid', event => {
console.log(event.detail); // { dropped: number }
});tooltipShow
내장 툴팁 표시 여부입니다.
이벤트 이름: tooltipShow. 대소문자를 구분합니다. payload는 CustomEvent<CartesianTooltipEventDetail>의 detail에서 읽습니다.
chart.addEventListener('tooltipShow', event => {
console.log(event.detail); // CartesianTooltipEventDetail
});tooltipHide
CustomEvent.detail 타입: void. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: tooltipHide. 대소문자를 구분합니다. payload는 CustomEvent<void>의 detail에서 읽습니다.
chart.addEventListener('tooltipHide', event => {
console.log(event.detail); // void
});tooltipAction
CustomEvent.detail 타입: CartesianTooltipActionEventDetail. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: tooltipAction. 대소문자를 구분합니다. payload는 CustomEvent<CartesianTooltipActionEventDetail>의 detail에서 읽습니다.
chart.addEventListener('tooltipAction', event => {
console.log(event.detail); // CartesianTooltipActionEventDetail
});chartAnimationStart
CustomEvent.detail 타입: void. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: chartAnimationStart. 대소문자를 구분합니다. payload는 CustomEvent<void>의 detail에서 읽습니다.
chart.addEventListener('chartAnimationStart', event => {
console.log(event.detail); // void
});chartAnimationEnd
CustomEvent.detail 타입: void. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: chartAnimationEnd. 대소문자를 구분합니다. payload는 CustomEvent<void>의 detail에서 읽습니다.
chart.addEventListener('chartAnimationEnd', event => {
console.log(event.detail); // void
});chartAnimationInterrupted
CustomEvent.detail 타입: void. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: chartAnimationInterrupted. 대소문자를 구분합니다. payload는 CustomEvent<void>의 detail에서 읽습니다.
chart.addEventListener('chartAnimationInterrupted', event => {
console.log(event.detail); // void
});zoomChange
CustomEvent.detail 타입: CartesianZoomChangeEventDetail. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: zoomChange. 대소문자를 구분합니다. payload는 CustomEvent<CartesianZoomChangeEventDetail>의 detail에서 읽습니다.
chart.addEventListener('zoomChange', event => {
console.log(event.detail); // CartesianZoomChangeEventDetail
});mapViewChange
CustomEvent.detail 타입: GeoMapViewChangeEventDetail. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: mapViewChange. 대소문자를 구분합니다. payload는 CustomEvent<GeoMapViewChangeEventDetail>의 detail에서 읽습니다.
chart.addEventListener('mapViewChange', event => {
console.log(event.detail); // GeoMapViewChangeEventDetail
});mapLayerChange
CustomEvent.detail 타입: GeoMapLayerChangeEventDetail. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: mapLayerChange. 대소문자를 구분합니다. payload는 CustomEvent<GeoMapLayerChangeEventDetail>의 detail에서 읽습니다.
chart.addEventListener('mapLayerChange', event => {
console.log(event.detail); // GeoMapLayerChangeEventDetail
});crosshairMove
CustomEvent.detail 타입: CartesianCrosshairEventDetail | null. 이벤트 이름은 대소문자를 구분합니다.
이벤트 이름: crosshairMove. 대소문자를 구분합니다. payload는 CustomEvent<CartesianCrosshairEventDetail | null>의 detail에서 읽습니다.
chart.addEventListener('crosshairMove', event => {
console.log(event.detail); // CartesianCrosshairEventDetail | null
});Methods
getMapLayers
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
getMapLayers(): Promise<GeoMapLayerDetail[]>반환 타입: Promise<GeoMapLayerDetail[]>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapLayerDetail
타입 정의
setMapLayerVisible
Immediately mask a layer without restarting active animations, rescaling or reframing. Unknown keys return null.
setMapLayerVisible(layer: GeoMapLayer, visible: boolean): Promise<GeoMapLayerDetail|null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
layer | GeoMapLayer | 필수 |
visible | boolean | 필수 |
반환 타입: Promise<GeoMapLayerDetail|null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapLayerDetail
타입 정의
- GeoMapLayer
타입 정의
redraw
현재 데이터와 옵션으로 차트를 다시 그립니다. 반환되는 Promise가 완료되면 렌더링 결과를 확인할 수 있습니다.
redraw(): Promise<GeoMapRenderResult>반환 타입: Promise<GeoMapRenderResult>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapRenderResult
타입 정의
recycleGpu
Release and reacquire the shared GPU surface without resetting data, pins or geographic view. Without the grant (or while frozen) nothing is recycled: no GPU work starts.
recycleGpu(): Promise<void>반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
getConnections
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
getConnections(): Promise<GeoMapConnectionView[]>반환 타입: Promise<GeoMapConnectionView[]>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapConnectionView
타입 정의
getEngineStatus
Requested engine vs what runs, and why (CHART-ADD-08); a frozen or unlicensed chart reports the license outcome.
getEngineStatus(): Promise<ChartEngineStatus>반환 타입: Promise<ChartEngineStatus>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- ChartEngineStatus
타입 정의
getActiveTier
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
getActiveTier(): Promise<GeoMapEngineTier>반환 타입: Promise<GeoMapEngineTier>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapEngineTier
타입 정의
getMapAvailability
Owned current engine status. A Pro decision can be pending before asynchronous device initialization finishes.
getMapAvailability(): Promise<GeoMapAvailabilityDetail>반환 타입: Promise<GeoMapAvailabilityDetail>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
setData
Replace the bar set.
setData(data: GeoMapData): Promise<void>| 인수 | 타입 | 필수 여부 |
|---|---|---|
data | GeoMapData | 필수 |
반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapData
타입 정의
setFeatures
Validate atomically; invalid input rejects and leaves the previous layer intact.
setFeatures(features?: GeoMapFeatureCollection): Promise<void>| 인수 | 타입 | 필수 여부 |
|---|---|---|
features | GeoMapFeatureCollection | 선택 |
반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
getFeatures
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
getFeatures(): Promise<GeoMapFeatureCollection>반환 타입: Promise<GeoMapFeatureCollection>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
getMapColorAxis
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
getMapColorAxis(): Promise<GeoMapColorAxisDetail|null>반환 타입: Promise<GeoMapColorAxisDetail|null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
getFeatureSelection
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
getFeatureSelection(): Promise<GeoMapFeatureSelection>반환 타입: Promise<GeoMapFeatureSelection>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
selectFeatureAt
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
selectFeatureAt(index: number): Promise<GeoMapFeatureHitDetail | null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
index | number | 필수 |
반환 타입: Promise<GeoMapFeatureHitDetail | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
showTooltipAtFeature
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
showTooltipAtFeature(index: number): Promise<CartesianTooltipEventDetail | null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
index | number | 필수 |
반환 타입: Promise<CartesianTooltipEventDetail | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
parseTopoJSON
Decode a Topology (object or JSON text) into owned GeoJSON; does not change chart data.
parseTopoJSON(input: unknown, objectName?: string): Promise<GeoMapFeatureCollection>| 인수 | 타입 | 필수 여부 |
|---|---|---|
input | unknown | 필수 |
objectName | string | 선택 |
반환 타입: Promise<GeoMapFeatureCollection>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
parseGeoJSON
Decode RFC 7946 Geometry, Feature or FeatureCollection into owned features without changing chart data.
parseGeoJSON(input: unknown): Promise<GeoMapFeatureCollection>| 인수 | 타입 | 필수 여부 |
|---|---|---|
input | unknown | 필수 |
반환 타입: Promise<GeoMapFeatureCollection>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
getNodes
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
getNodes(): Promise<GeoMapPoint[]>반환 타입: Promise<GeoMapPoint[]>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapPoint
타입 정의
getNode
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
getNode(index: number): Promise<GeoMapPoint | null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
index | number | 필수 |
반환 타입: Promise<GeoMapPoint | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapPoint
타입 정의
getNodeById
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
getNodeById(id: string): Promise<GeoMapPoint | null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
id | string | 필수 |
반환 타입: Promise<GeoMapPoint | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapPoint
타입 정의
getNodeCount
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
getNodeCount(): Promise<number>반환 타입: Promise<number>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
getExtent
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
getExtent(): Promise<GeoMapExtent>반환 타입: Promise<GeoMapExtent>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapExtent
타입 정의
getMapDiagnostics
Current base input and active normalized stream window; not lifetime ingestion counters. Returns an owned snapshot.
getMapDiagnostics(): Promise<GeoMapDiagnostics>반환 타입: Promise<GeoMapDiagnostics>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapDiagnostics
타입 정의
getLayout
Host-local geometry as shown. Scale fields preserve ellipses under non-uniform viewport zoom.
getLayout(): Promise<GeoMapLayoutResult>반환 타입: Promise<GeoMapLayoutResult>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapLayoutResult
타입 정의
appendPoint
스트림에 값 하나를 추가합니다. 메서드 인수 타입과 스트리밍 기능의 라이선스 조건을 확인하세요.
appendPoint(node: GeoMapPointInput): Promise<void>| 인수 | 타입 | 필수 여부 |
|---|---|---|
node | GeoMapPointInput | 필수 |
반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapPointInput
타입 정의
appendBatch
스트림에 여러 값을 한 번에 추가합니다. 메서드 인수 타입과 스트리밍 기능의 라이선스 조건을 확인하세요.
appendBatch(nodes: ReadonlyArray<GeoMapPointInput>): Promise<void>| 인수 | 타입 | 필수 여부 |
|---|---|---|
nodes | ReadonlyArray<GeoMapPointInput> | 필수 |
반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapPointInput
타입 정의
shift
Drop the oldest streamed categories (the data boxes are not the stream).
shift(count: number): Promise<void>| 인수 | 타입 | 필수 여부 |
|---|---|---|
count | number | 필수 |
반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
replace
Swap the streamed set (replace([]) clears it); the base values never leave. Without chart.streaming the dies upsert into the base like a batch (quietly: no appended, no binChanged, as a ring replace).
replace(nodes: ReadonlyArray<GeoMapPointInput>): Promise<void>| 인수 | 타입 | 필수 여부 |
|---|---|---|
nodes | ReadonlyArray<GeoMapPointInput> | 필수 |
반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapPointInput
타입 정의
getStreamSource
The stream session's source (Chart Pro): like the stream methods it waits for a license still being confirmed.
getStreamSource(): Promise<GeoMapStreamSource | undefined>반환 타입: Promise<GeoMapStreamSource | undefined>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapStreamSource
타입 정의
pauseAnimation
진행 중인 애니메이션을 일시 정지합니다.
pauseAnimation(): Promise<void>반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
resumeAnimation
일시 정지한 애니메이션을 다시 진행합니다.
resumeAnimation(): Promise<void>반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
replayAnimation
Replay the initial sweep from min → value(s). No-op when animation is off / reduced.
replayAnimation(): Promise<void>반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
setAnimation
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
setAnimation(options: { enabled?: boolean; duration?: number; easing?: GeoMapEasing; type?: GeoMapAnimationType }): Promise<void>| 인수 | 타입 | 필수 여부 |
|---|---|---|
options | { enabled?: boolean; duration?: number; easing?: GeoMapEasing; type?: GeoMapAnimationType } | 필수 |
반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapEasing
타입 정의
- GeoMapAnimationType
타입 정의
hitTest
The box under a host-local CSS point (the nearest slot, within half a pitch), or null.
hitTest(cssX: number, cssY: number): Promise<GeoMapPickDetail | null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
cssX | number | 필수 |
cssY | number | 필수 |
반환 타입: Promise<GeoMapPickDetail | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapPickDetail
타입 정의
selectNodeAt
Select (pin) a node: its neighbourhood stays highlighted after the pointer leaves; a negative or unknown index releases the selection. Emits selectionChanged when it changes.
selectNodeAt(index: number): Promise<GeoMapHitDetail | null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
index | number | 필수 |
반환 타입: Promise<GeoMapHitDetail | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapHitDetail
타입 정의
clearSelection
Release the selection (emits selectionChanged when there was one).
clearSelection(): Promise<void>반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
getSelection
The selection: the selected node's / link's detail (null = none); its anchors are Pro-derived, refused without a valid license.
getSelection(): Promise<GeoMapSelection>반환 타입: Promise<GeoMapSelection>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapSelection
타입 정의
showTooltipAtIndex
open the tooltip on a box (the facade's showTooltipAtPoint routes here); null off the boxes or with the tooltip off.
showTooltipAtIndex(index: number): Promise<CartesianTooltipEventDetail | null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
index | number | 필수 |
반환 타입: Promise<CartesianTooltipEventDetail | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
showTooltipAtPoint
Open the tooltip for a dot programmatically. pointIndex is the category (row) index; the optional seriesIndex selects a group within that row (defaults to the first visible group's dot in the row). Returns the emitted tooltip detail, or null when no dot resolves / the tooltip is disabled.
showTooltipAtPoint(index: number): Promise<CartesianTooltipEventDetail | null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
index | number | 필수 |
반환 타입: Promise<CartesianTooltipEventDetail | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
hideTooltip
현재 표시 중인 툴팁을 닫습니다.
hideTooltip(): Promise<void>반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
zoomTo
Zoom to explicit windows over the unit extents: x / y as { min, max } or [min, max] (null clears that orientation).
zoomTo(request: CartesianZoomRequest): Promise<CartesianZoomChangeEventDetail | null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
request | CartesianZoomRequest | 필수 |
반환 타입: Promise<CartesianZoomChangeEventDetail | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
zoomBy
Scale the current windows by factor (< 1 zooms in) around anchorFraction (0..1, default centre).
zoomBy(factor: number, anchorFraction?: number): Promise<CartesianZoomChangeEventDetail | null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
factor | number | 필수 |
anchorFraction | number | 선택 |
반환 타입: Promise<CartesianZoomChangeEventDetail | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
panBy
Slide the zoomed windows by unit-extent units ({ x?, y? }); a no-op at the full extent.
panBy(delta: { x?: number; y?: number }): Promise<CartesianZoomChangeEventDetail | null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
delta | { x?: number; y?: number } | 필수 |
반환 타입: Promise<CartesianZoomChangeEventDetail | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
resetZoom
확대·이동한 범위를 초기 데이터 범위로 되돌립니다.
resetZoom(): Promise<CartesianZoomChangeEventDetail | null>반환 타입: Promise<CartesianZoomChangeEventDetail | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
resetMapView
Restore the configured projection/region and clear map movement and zoom.
resetMapView(): Promise<void>반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
getMapView
Owned geographic camera, effective region and viewport state.
getMapView(): Promise<GeoMapViewDetail>반환 타입: Promise<GeoMapViewDetail>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapViewDetail
타입 정의
fitMap
Fit current point/feature geometry with a uniform scale. Empty candidates leave the view unchanged.
fitMap(options?: GeoMapFitOptions): Promise<GeoMapFitDetail|null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
options | GeoMapFitOptions | 선택 |
반환 타입: Promise<GeoMapFitDetail|null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapFitDetail
타입 정의
- GeoMapFitOptions
타입 정의
getZoom
현재 확대 범위를 읽습니다. 반환 타입의 null 허용 여부와 축별 범위를 확인하세요.
getZoom(): Promise<CartesianZoomState | null>반환 타입: Promise<CartesianZoomState | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- CartesianZoomState
타입 정의
getZoomExtent
The full extent (0 … 1) and key of the diagram's orientations (null before the first layout).
getZoomExtent(request?: CartesianZoomExtentRequest): Promise<CartesianZoomExtentDetail | null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
request | CartesianZoomExtentRequest | 선택 |
반환 타입: Promise<CartesianZoomExtentDetail | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
getDataTable
Current normalized table, including the retained stream; independent of GPU availability.
getDataTable(): Promise<ChartDataTable>반환 타입: Promise<ChartDataTable>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- ChartDataTable
타입 정의
getLabels
the placed node labels in HOST-local CSS px as shown (the plot offset added; under a zoom the labels of the nodes outside the window are left out), shown or hidden with the reason.
getLabels(): Promise<GeoMapLabel[]>반환 타입: Promise<GeoMapLabel[]>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapLabel
타입 정의
getMapLabels
Full source text and current screen placement for both point and feature names.
getMapLabels(): Promise<GeoMapLabelView>반환 타입: Promise<GeoMapLabelView>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapLabelView
타입 정의
getMapHeat
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
getMapHeat(): Promise<GeoMapHeatDetail|null>반환 타입: Promise<GeoMapHeatDetail|null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- GeoMapHeatDetail
타입 정의
getMapHeatAt
Read aggregate density at a host-relative point; original point/feature selection remains separate.
getMapHeatAt(cssX: number, cssY: number): Promise<GeoMapHeatPointDetail|null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
cssX | number | 필수 |
cssY | number | 필수 |
반환 타입: Promise<GeoMapHeatPointDetail|null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
getMapHeatAtCoordinate
Read the current visible density at geography without requiring a source point or marker. Returns null for invalid, projection-clipped, offscreen or rear-hemisphere coordinates and hidden heat.
getMapHeatAtCoordinate(longitude: number, latitude: number): Promise<GeoMapHeatPointDetail|null>| 인수 | 타입 | 필수 여부 |
|---|---|---|
longitude | number | 필수 |
latitude | number | 필수 |
반환 타입: Promise<GeoMapHeatPointDetail|null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
getMapBubbleScale
비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.
getMapBubbleScale(): Promise<GeoMapBubbleScaleDetail|null>반환 타입: Promise<GeoMapBubbleScaleDetail|null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
showCrosshairAtData
Quiet geographic synchronization; invalid, hidden or clipped coordinates leave no guide.
showCrosshairAtData(request: {dataX:number;dataY:number}): Promise<boolean>| 인수 | 타입 | 필수 여부 |
|---|---|---|
request | {dataX:number;dataY:number} | 필수 |
반환 타입: Promise<boolean>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
hideCrosshair
hide the crosshair shown by showCrosshairAt (or the pointer's).
hideCrosshair(): Promise<void>반환 타입: Promise<void>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.