NPolygonOverlay class

다각형을 나타내는 오버레이입니다.

Inheritance

Constructors

NPolygonOverlay({required String id, required Iterable<NLatLng> coords, Color color = Colors.white, Iterable<Iterable<NLatLng>> holes = const [], Color outlineColor = Colors.black, double outlineWidth = 0})

Properties

color Color
다각형의 색상을 나타냅니다.
no setter
coords List<NLatLng>
다각형의 지점들을 나타냅니다.
no setter
globalZIndex int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
holes List<Iterable<NLatLng>>
내부에 빈 공간을 나타냅니다.
no setter
info NOverlayInfo
오버레이의 정보를 나타냅니다.
finalinherited
isAdded bool
no setterinherited
isMaxZoomInclusive bool
오버레이의 최대 줌 레벨을 포함해서 보여줄 지를 나타냅니다.
no setterinherited
isMinZoomInclusive bool
오버레이의 최소 줌 레벨을 포함해서 보여줄 지를 나타냅니다.
no setterinherited
isVisible bool
지도에 오버레이를 보여지고 있는지, 숨겨졌는지 나타냅니다. 숨겨지더라도, 오버레이는 지도에 남아있으며, 다시 보이게 할 수 있습니다.
no setterinherited
maxZoom double
오버레이가 보여질 최대 줌 레벨을 나타냅니다.
no setterinherited
minZoom double
오버레이가 보여질 최소 줌 레벨을 나타냅니다.
no setterinherited
outlineColor Color
다각형의 테두리 색상을 나타냅니다.
no setter
outlineWidth double
다각형의 테두리 두께를 나타냅니다.
no setter
payload Map<String, dynamic>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zIndex int
지도에서 오버레이 종류끼리의 zIndex를 나타냅니다.
no setterinherited

Methods

getBounds() Future<NLatLngBounds>
다각형 오버레이가 차지하는 영역을 반환합니다.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performClick() Future<void>
setOnTapListener를 통해 지정된 사용자의 오버레이 터치를 처리하는 함수를 실행합니다.
inherited
removeOnTapListener() → void
오버레이가 사용자에 의해 터치되었을 때 실행할 함수를 제거합니다.
inherited
setColor(Color color) → void
다각형의 색상을 지정합니다.
setCoords(Iterable<NLatLng> coords) → void
다각형의 지점들을 지정합니다. 다각형의 기본 조건을 따라, 점이 3개 이상 있어야 합니다.
setGlobalZIndex(int globalZIndex) → void
지도에서의 zIndex를 지정합니다.
inherited
setHoles(Iterable<Iterable<NLatLng>> holes) → void
다각형의 내부가 비어있는 영역을 지정합니다. coords와 반대 방향으로 나열되어야 합니다.
setIsMaxZoomInclusive(bool isMaxZoomInclusive) → void
오버레이의 최대 줌 레벨을 포함해서 보여줄 지를 지정합니다.
inherited
setIsMinZoomInclusive(bool isMinZoomInclusive) → void
오버레이의 최소 줌 레벨을 포함해서 보여줄 지를 지정합니다.
inherited
setIsVisible(bool isVisible) → void
지도에 오버레이를 보여지고 있는지, 숨겨졌는지 지정합니다. 숨겨지더라도, 오버레이는 지도에 남아있으며, 다시 보이게 할 수 있습니다.
inherited
setMaxZoom(double maxZoom) → void
오버레이가 보여질 최대 줌 레벨을 지정합니다.
inherited
setMinZoom(double minZoom) → void
오버레이가 보여질 최소 줌 레벨을 지정합니다.
inherited
setOnTapListener(dynamic listener(NPolygonOverlay overlay)) → void
오버레이가 사용자에 의해 터치되었을 때 실행할 함수를 지정합니다.
inherited
setOutlineColor(Color outlineColor) → void
다각형의 테두리 색상을 지정합니다.
setOutlineWidth(double outlineWidth) → void
다각형의 테두리 두께를 지정합니다.
setZIndex(int zIndex) → void
지도에서 오버레이 종류끼리의 zIndex를 지정합니다.
inherited
toNPayload() → NPayload
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited