NInfoWindow class

지도에 한 지점, 혹은 마커에 텍스트로 간단한 정보를 나타낼 때 사용하는 정보창입니다.

Inheritance

Constructors

NInfoWindow.onMap({required String id, required String text, required NLatLng position, NPoint anchor = defaultAnchor, double alpha = 1.0, double offsetX = 0, double offsetY = 0})
지도에 정보창을 띄울 때 사용하는 생성자입니다.
NInfoWindow.onMarker({required String id, required String text, NPoint anchor = defaultAnchor, double alpha = 1.0, double offsetX = 0, double offsetY = 0})
마커에 정보창을 띄울 때 사용하는 생성자입니다.

Properties

alpha double
정보창의 불투명도를 나타냅니다. (0 ~ 1)
no setter
anchor NPoint
정보창이 위치하는 기준점을 나타냅니다.
no setter
globalZIndex int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
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
offsetX double
좌표(또는 마커)와 X축 방향으로 얼마나 떨어져 정보창을 표시할지 나타냅니다.
no setter
offsetY double
좌표(또는 마커)와 Y축 방향으로 얼마나 떨어져 정보창을 표시할지 나타냅니다.
no setter
payload Map<String, dynamic>
no setterinherited
position NLatLng?
정보창의 위치를 나타냅니다. 지도에 표시된 경우에만 값이 존재합니다.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
withMarker bool
마커에 띄우는 정보창인지 나타내는 값입니다.
final
zIndex int
지도에서 오버레이 종류끼리의 zIndex를 나타냅니다.
no setterinherited

Methods

close() → void
정보창을 닫는 메서드입니다.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performClick() Future<void>
setOnTapListener를 통해 지정된 사용자의 오버레이 터치를 처리하는 함수를 실행합니다.
inherited
removeOnTapListener() → void
오버레이가 사용자에 의해 터치되었을 때 실행할 함수를 제거합니다.
inherited
setAlpha(double alpha) → void
정보창의 불투명도를 지정합니다. (0 ~ 1)
setAnchor(NPoint anchor) → void
정보창이 위치하는 기준점을 지정합니다.
setGlobalZIndex(int globalZIndex) → void
지도에서의 zIndex를 지정합니다.
inherited
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
setOffsetX(double offsetX) → void
좌표(또는 마커)와 X축 방향으로 얼마나 떨어져 정보창을 표시할지 지정합니다.
setOffsetY(double offsetY) → void
좌표(또는 마커)와 Y축 방향으로 얼마나 떨어져 정보창을 표시할지 지정합니다.
setOnTapListener(dynamic listener(NInfoWindow overlay)) → void
오버레이가 사용자에 의해 터치되었을 때 실행할 함수를 지정합니다.
inherited
setPosition(NLatLng position) → void
정보창의 위치를 지정합니다. 지도에 표시된 경우에만 값이 존재합니다.
setText(String text) → 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

Constants

defaultAnchor → const NPoint
정보창의 기본 앵커를 나타냅니다. 하단의 중앙을 나타내는 값을 가지고 있습니다.