Skip to main content

Interface: PolygonProps

Properties

fillColor

Optional fillColor: string

#xxxxxx 형태의 채움 색 (기본값: ‘#F10000’)

Defined in

src/components/Polygon.tsx:15


fillOpacity

Optional fillOpacity: number

채움 불투명도 (0-1) (기본값: 0)

Defined in

src/components/Polygon.tsx:19


onClick

Optional onClick: (target: Polygon, mouseEvent: MouseEvent) => void

Type declaration

▸ (target, mouseEvent): void

클릭하면 발생한다.

Parameters
NameType
targetPolygon
mouseEventMouseEvent
Returns

void

Defined in

src/components/Polygon.tsx:72


onCreate

Optional onCreate: (target: Polygon) => void

Type declaration

▸ (target): void

객체 생성시 호출 됩니다.

Parameters
NameType
targetPolygon
Returns

void

Defined in

src/components/Polygon.tsx:79


onMousedown

Optional onMousedown: (target: Polygon, mouseEvent: MouseEvent) => void

Type declaration

▸ (target, mouseEvent): void

마우스 버튼을 누르면 발생한다.

Parameters
NameType
targetPolygon
mouseEventMouseEvent
Returns

void

Defined in

src/components/Polygon.tsx:65


onMousemove

Optional onMousemove: (target: Polygon, mouseEvent: MouseEvent) => void

Type declaration

▸ (target, mouseEvent): void

마우스를 움직이면 발생한다.

Parameters
NameType
targetPolygon
mouseEventMouseEvent
Returns

void

Defined in

src/components/Polygon.tsx:58


onMouseout

Optional onMouseout: (target: Polygon, mouseEvent: MouseEvent) => void

Type declaration

▸ (target, mouseEvent): void

마우스 커서가 벗어나면 발생한다.

Parameters
NameType
targetPolygon
mouseEventMouseEvent
Returns

void

Defined in

src/components/Polygon.tsx:51


onMouseover

Optional onMouseover: (target: Polygon, mouseEvent: MouseEvent) => void

Type declaration

▸ (target, mouseEvent): void

마우스 커서를 올리면 발생한다.

Parameters
NameType
targetPolygon
mouseEventMouseEvent
Returns

void

Defined in

src/components/Polygon.tsx:44


path

path: LatLng[] | LatLng[][]

Defined in

src/components/Polygon.tsx:11


strokeColor

Optional strokeColor: string

#xxxxxx 형태의 선 색 (기본값: ‘#F10000’)

Defined in

src/components/Polygon.tsx:27


strokeOpacity

Optional strokeOpacity: number

선 불투명도 (0-1) (기본값: 0.6)

Defined in

src/components/Polygon.tsx:31


strokeStyle

Optional strokeStyle: StrokeStyles

선 스타일 (기본값: ‘solid’)

Defined in

src/components/Polygon.tsx:35


strokeWeight

Optional strokeWeight: number

픽셀 단위의 선 두께 (기본값: 3)

Defined in

src/components/Polygon.tsx:23


zIndex

Optional zIndex: number

선의 z-index 속성 값

Defined in

src/components/Polygon.tsx:39